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 17, 2025 19:53Adam FolwarcznyAdam FolwarcznyScore: 4,201Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2025 19:534,17228,730,16113,351,00002,490,368
2May 17, 2025 19:534,17932,144,45513,372,00002,273,280
3May 17, 2025 19:534,18328,807,51313,386,00002,498,560
4May 17, 2025 19:534,20130,757,43312,409,0001,034,0002,498,560
5May 17, 2025 19:534,20229,666,91613,446,00002,531,328
6May 17, 2025 19:534,21631,204,39912,455,0001,037,0002,273,280