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 listMay 7, 2025 00:00zielajzielajScore: 4,130Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 7, 2025 00:014,09641,153,56412,099,0001,008,0002,494,464
2May 7, 2025 00:014,10827,805,49412,134,0001,011,0002,527,232
3May 7, 2025 00:014,10934,121,44812,138,0001,011,0002,498,560
4May 7, 2025 00:014,12128,689,51912,173,0001,014,0002,494,464
5May 7, 2025 00:014,12227,266,31912,177,0001,014,0002,494,464
6May 7, 2025 00:014,12835,344,15412,195,0001,016,0002,527,232
7May 7, 2025 00:004,13038,788,97412,200,0001,016,0002,486,272
8May 7, 2025 00:014,13530,768,28612,214,0001,017,0002,490,368
9May 7, 2025 00:014,14330,850,33413,257,00002,527,232
10May 7, 2025 00:014,14430,768,03312,240,0001,020,0002,490,368
11May 7, 2025 00:004,16936,947,45312,316,0001,026,0002,494,464
12May 7, 2025 00:004,17333,649,10812,327,0001,027,0002,527,232