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 listMar 28, 2026 08:24olliecrowolliecrowScore: 4,657Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 28, 2026 08:244,42641,141,52413,151,0001,011,0002,285,568
2Mar 28, 2026 08:244,42728,932,55212,142,0002,023,0002,396,160
3Mar 28, 2026 08:244,44729,665,28312,198,0002,033,0002,285,568
4Mar 28, 2026 08:244,65730,515,21712,916,0001,987,0002,387,968
5Mar 28, 2026 08:244,67132,187,09713,879,0001,067,0002,400,256
6Mar 28, 2026 08:244,68039,668,93312,979,0001,996,0002,404,352