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:08IlyaIlyaScore: 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 1, 2026 17:084,28623,067,02112,687,0001,029,0002,113,536
2Jul 1, 2026 17:084,30223,071,57912,750,0001,018,0002,113,536
3Jul 1, 2026 17:084,30523,143,61712,714,0001,062,0002,113,536
4Jul 1, 2026 17:084,30523,038,17212,755,0001,023,0002,113,536
5Jul 1, 2026 17:084,30623,115,05812,721,0001,061,0002,113,536
6Jul 1, 2026 17:084,31023,140,88612,735,0001,060,0002,113,536
7Jul 1, 2026 17:084,31223,109,72712,774,0001,027,0002,113,536
8Jul 1, 2026 17:084,31823,184,48912,765,0001,054,0002,113,536
9Jul 1, 2026 17:084,33123,206,53012,760,0001,100,0002,113,536