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 listJul 2, 2026 21:22IlyaIlyaScore: 4,291Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 2, 2026 21:234,26022,987,75712,605,0001,030,0002,113,536
2Jul 2, 2026 21:234,27823,010,24912,627,0001,063,0002,113,536
3Jul 2, 2026 21:234,28923,049,42012,651,0001,074,0002,113,536
4Jul 2, 2026 21:234,29123,087,62812,650,0001,084,0002,113,536
5Jul 2, 2026 21:234,29123,086,81912,656,0001,078,0002,113,536
6Jul 2, 2026 21:234,29923,125,48512,681,0001,078,0002,113,536
7Jul 2, 2026 21:234,29923,113,79712,686,0001,072,0002,113,536
8Jul 2, 2026 21:234,30023,022,42512,681,0001,081,0002,113,536
9Jul 2, 2026 21:234,30623,222,80912,754,0001,027,0002,113,536