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:54IlyaIlyaScore: 4,306Success
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:544,29523,042,41412,723,0001,024,0002,113,536
2Jul 2, 2026 21:544,29523,105,99712,726,0001,020,0002,113,536
3Jul 2, 2026 21:544,30123,080,96412,759,0001,007,0002,113,536
4Jul 2, 2026 21:544,30623,117,34212,746,0001,035,0002,113,536
5Jul 2, 2026 21:544,30623,198,83612,752,0001,029,0002,113,536
6Jul 2, 2026 21:544,31223,173,42812,779,0001,022,0002,113,536
7Jul 2, 2026 21:544,32023,199,00012,754,0001,072,0002,113,536
8Jul 2, 2026 21:544,32623,207,12912,826,0001,018,0002,113,536
9Jul 2, 2026 21:544,33523,142,75512,808,0001,065,0002,113,536