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 23:00IlyaIlyaScore: 4,228Success
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 23:024,21322,776,01112,474,0001,008,0002,113,536
2Jul 2, 2026 23:024,21822,786,39812,484,0001,014,0002,113,536
3Jul 2, 2026 23:024,22222,866,84012,483,0001,028,0002,113,536
4Jul 2, 2026 23:024,22822,864,40112,527,0001,004,0002,113,536
5Jul 2, 2026 23:024,22822,904,87412,507,0001,025,0002,113,536
6Jul 2, 2026 23:024,23222,861,82212,517,0001,027,0002,113,536
7Jul 2, 2026 23:024,23622,863,01912,498,0001,059,0002,113,536
8Jul 2, 2026 23:024,23924,219,61512,495,0001,070,0002,113,536
9Jul 2, 2026 23:024,24522,903,56312,529,0001,057,0002,113,536