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 4, 2025 19:21zielajzielajScore: 376,618Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 4, 2025 19:21376,1781,224,341,8271,203,768,00002,490,368
2May 4, 2025 19:21376,6181,228,296,6321,204,180,000997,0002,527,232
3May 4, 2025 19:21376,8341,234,843,7791,204,873,000997,0002,486,272