Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listAug 4, 2024 21:28zielajzielajError
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 21:2700000Error: expected "976932 ", got "51 "
2Aug 4, 2024 21:285,59548,381,75516,850,0001,053,0002,269,184
3Aug 4, 2024 21:285,60749,693,61115,948,0001,993,0002,273,280
4Aug 4, 2024 21:285,61240,754,47015,963,0001,995,0002,289,664
5Aug 4, 2024 21:285,61742,166,66915,977,0001,997,0002,289,664
6Aug 4, 2024 21:285,62136,616,53415,990,0001,998,0002,289,664
7Aug 4, 2024 21:285,62143,671,81715,990,0001,998,0002,289,664
8Aug 4, 2024 21:285,64947,942,51916,070,0002,008,0002,387,968
9Aug 4, 2024 21:285,65246,513,28417,081,0001,004,0002,281,472
10Aug 4, 2024 21:285,66040,693,41216,101,0002,012,0002,289,664
11Aug 4, 2024 21:285,83787,044,43018,678,59602,179,072
12Aug 4, 2024 21:285,846102,890,50818,708,09002,306,048
13Aug 4, 2024 21:285,873107,219,61518,792,53202,293,760