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 2, 2025 21:48zielajzielajScore: 368,140Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 2, 2025 21:57366,6331,202,059,9491,172,228,000997,0002,527,232
2May 2, 2025 21:57367,3951,201,338,8111,175,664,00002,527,232
3May 2, 2025 21:57367,9151,202,780,8041,177,329,00002,265,088
4May 2, 2025 21:48368,1401,203,484,7891,177,051,000997,0002,527,232
5May 2, 2025 21:48368,1611,201,624,8401,177,118,000997,0002,490,368
6May 2, 2025 21:48368,5971,201,992,1271,179,510,00002,482,176