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 11:37IlyaIlyaScore: 4,392Success
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 11:374,37523,028,35714,002,00002,113,536
2Jun 3, 2026 11:374,38023,023,99714,018,00002,113,536
3Jun 3, 2026 11:374,38223,001,83913,008,0001,017,0002,113,536
4Jun 3, 2026 11:374,38923,066,41714,046,00002,113,536
5Jun 3, 2026 11:374,39223,081,52212,995,0001,061,0002,113,536
6Jun 3, 2026 11:374,39723,137,34914,072,00002,113,536
7Jun 3, 2026 11:374,39923,154,97713,018,0001,059,0002,113,536
8Jun 3, 2026 11:374,40823,181,33913,055,0001,051,0002,113,536
9Jun 3, 2026 11:374,41623,198,31213,087,0001,045,0002,113,536