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 listSep 29, 2026 10:58Damian HösterDamian HösterScore: 4,283Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2026 10:594,25622,494,40813,620,00002,117,632
2Sep 29, 2026 10:594,26722,379,86413,655,00002,117,632
3Sep 29, 2026 10:594,27222,582,21012,671,0001,001,0002,117,632
4Sep 29, 2026 10:594,28122,634,02913,700,00002,117,632
5Sep 29, 2026 10:594,28324,165,70212,690,0001,016,0002,117,632
6Sep 29, 2026 10:594,28823,353,70212,721,0001,002,0002,117,632
7Sep 29, 2026 10:594,29422,527,79212,716,0001,025,0002,117,632
8Sep 29, 2026 10:594,29423,180,27912,708,0001,033,0002,117,632
9Sep 29, 2026 10:594,30222,586,44312,738,0001,030,0002,117,632