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 8, 2026 18:22IlyaIlyaScore: 4,327Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2026 18:234,29923,343,37512,735,0001,024,0002,113,536
2Jul 8, 2026 18:234,30023,256,28012,698,0001,062,0002,113,536
3Jul 8, 2026 18:234,30023,255,06512,733,0001,027,0002,113,536
4Jul 8, 2026 18:234,32523,335,72012,768,0001,073,0002,113,536
5Jul 8, 2026 18:234,32723,326,26812,774,0001,074,0002,113,536
6Jul 8, 2026 18:234,32924,553,37712,770,0001,083,0002,113,536
7Jul 8, 2026 18:234,33223,441,02312,815,0001,049,0002,113,536
8Jul 8, 2026 18:234,34323,359,24012,825,0001,075,0002,113,536
9Jul 8, 2026 18:234,35923,501,04512,830,0001,119,0002,113,536