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 listNov 5, 2026 07:13e1011e1011Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2026 07:13032,866,33520,944,0001,045,0002,113,536expected "978662 ", got "122534 "
2Nov 5, 2026 07:13032,980,08321,038,0001,083,0002,113,536expected "976325 ", got "122685 "
3Nov 5, 2026 07:13032,701,70420,841,0001,018,0002,113,536expected "978262 ", got "122001 "