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:58IlyaIlyaScore: 4,271Success
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:594,24822,919,09812,566,0001,029,0002,113,536
2Jul 2, 2026 21:594,26322,980,84512,582,0001,060,0002,113,536
3Jul 2, 2026 21:594,26424,266,66912,580,0001,067,0002,113,536
4Jul 2, 2026 21:594,27023,043,08412,599,0001,066,0002,113,536
5Jul 2, 2026 21:594,27123,025,44912,591,0001,077,0002,113,536
6Jul 2, 2026 21:594,27822,984,69312,585,0001,107,0002,113,536
7Jul 2, 2026 21:594,28023,023,14712,610,0001,086,0002,113,536
8Jul 2, 2026 21:594,28423,043,25812,629,0001,082,0002,113,536
9Jul 2, 2026 21:594,29923,151,09612,649,0001,109,0002,113,536