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 listMar 11, 2025 21:00Drew GarciaDrew GarciaScore: 5,060Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 11, 2025 21:015,02737,008,13714,075,0002,010,0002,269,184
2Mar 11, 2025 20:595,02833,058,30214,080,0002,011,0002,408,448
3Mar 11, 2025 21:015,04036,235,25515,121,0001,008,0002,269,184
4Mar 11, 2025 21:005,04338,764,18014,120,0002,017,0002,269,184
5Mar 11, 2025 21:005,04638,552,03315,137,0001,009,0002,269,184
6Mar 11, 2025 20:595,05839,085,76514,161,0002,023,0002,269,184
7Mar 11, 2025 20:595,05942,939,75514,165,0002,023,0002,404,352
8Mar 11, 2025 21:005,06039,408,89113,157,0003,036,0002,396,160
9Mar 11, 2025 21:005,06633,516,00014,185,0002,026,0002,400,256
10Mar 11, 2025 21:005,06938,880,02613,179,0003,041,0002,400,256
11Mar 11, 2025 21:005,07341,156,13914,203,0002,029,0002,392,064
12Mar 11, 2025 21:005,07735,433,45415,231,0001,015,0002,269,184
13Mar 11, 2025 21:015,08835,229,83116,280,00002,392,064
14Mar 11, 2025 21:005,09438,225,15315,284,0001,018,0002,400,256
15Mar 11, 2025 21:005,14550,078,99413,558,0002,905,0002,400,256