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 6, 2025 23:56zielajzielajScore: 4,131Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 6, 2025 23:564,10037,087,22412,112,0001,009,0002,265,088
2May 6, 2025 23:564,11426,386,57012,154,0001,012,0002,527,232
3May 6, 2025 23:564,12630,629,71712,189,0001,015,0002,527,232
4May 6, 2025 23:554,12734,084,05812,190,0001,015,0002,527,232
5May 6, 2025 23:564,12828,674,08112,194,0001,016,0002,527,232
6May 6, 2025 23:554,13128,166,70212,202,0001,016,0002,527,232
7May 6, 2025 23:564,13129,598,65712,203,0001,016,0002,265,088
8May 6, 2025 23:554,13228,748,22112,205,0001,017,0002,527,232
9May 6, 2025 23:564,13231,500,16112,204,0001,017,0002,490,368
10May 6, 2025 23:564,13227,537,09912,206,0001,017,0002,490,368
11May 6, 2025 23:564,14627,401,16712,248,0001,020,0002,527,232
12May 6, 2025 23:564,16342,956,06512,296,0001,024,0002,494,464