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:21IlyaIlyaScore: 4,387Success
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:214,35723,198,31312,924,0001,021,0002,113,536
2Jul 2, 2026 21:214,38123,500,56212,949,0001,071,0002,113,536
3Jul 2, 2026 21:214,38223,314,64712,932,0001,092,0002,113,536
4Jul 2, 2026 21:214,38423,345,55712,953,0001,077,0002,113,536
5Jul 2, 2026 21:214,38723,315,76112,961,0001,079,0002,113,536
6Jul 2, 2026 21:214,39623,491,13812,997,0001,073,0002,113,536
7Jul 2, 2026 21:214,39823,436,80312,971,0001,103,0002,113,536
8Jul 2, 2026 21:214,40023,420,02613,007,0001,075,0002,113,536
9Jul 2, 2026 21:214,40323,436,62113,006,0001,084,0002,113,536