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 22:20Victor MerckléVictor MerckléScore: 4,194Success
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 22:204,18621,326,51313,396,00002,117,632stderr
2Jul 2, 2026 22:204,19021,333,05113,408,00002,117,632stderr
3Jul 2, 2026 22:204,19121,303,62813,414,00002,117,632stderr
4Jul 2, 2026 22:204,19321,303,92813,419,00002,117,632stderr
5Jul 2, 2026 22:204,19421,328,36113,422,00002,117,632stderr
6Jul 2, 2026 22:204,19421,334,07813,421,00002,117,632stderr
7Jul 2, 2026 22:204,19621,278,32313,428,00002,117,632stderr
8Jul 2, 2026 22:204,21021,503,92913,473,00002,117,632stderr
9Jul 2, 2026 22:204,21821,515,16013,500,00002,117,632stderr