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 listJun 3, 2026 10:34IlyaIlyaScore: 5,126Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2026 10:355,10425,357,52516,333,00002,113,536
2Jun 3, 2026 10:355,10525,397,13715,333,0001,003,0002,113,536
3Jun 3, 2026 10:355,10925,404,83016,349,00002,113,536
4Jun 3, 2026 10:355,11925,261,22515,363,0001,019,0002,113,536
5Jun 3, 2026 10:355,12625,449,69215,364,0001,040,0002,113,536
6Jun 3, 2026 10:355,12925,504,39315,374,0001,041,0002,113,536
7Jun 3, 2026 10:355,14025,481,91615,434,0001,014,0002,113,536
8Jun 3, 2026 10:355,14226,623,94815,427,0001,028,0002,113,536
9Jun 3, 2026 10:355,17125,609,49315,491,0001,058,0002,113,536