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 1, 2026 17:07IlyaIlyaScore: 4,312Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 1, 2026 17:084,29123,033,52812,713,0001,021,0002,113,536
2Jul 1, 2026 17:084,30423,094,04212,769,0001,005,0002,113,536
3Jul 1, 2026 17:084,30523,118,32712,711,0001,066,0002,113,536
4Jul 1, 2026 17:084,30823,087,17112,727,0001,061,0002,113,536
5Jul 1, 2026 17:084,31224,446,69612,726,0001,075,0002,113,536
6Jul 1, 2026 17:084,31823,140,43212,758,0001,062,0002,113,536
7Jul 1, 2026 17:084,32623,172,30212,777,0001,067,0002,113,536
8Jul 1, 2026 17:084,32823,191,45512,779,0001,072,0002,113,536
9Jul 1, 2026 17:084,37433,280,72212,918,0001,079,0002,117,632