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 6, 2026 20:43Victor MerckléVictor MerckléScore: 4,193Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 20:434,18021,381,13113,377,00002,117,632stderr
2Jul 6, 2026 20:434,18421,376,66613,390,00002,117,632stderr
3Jul 6, 2026 20:434,18521,391,31513,392,00002,117,632stderr
4Jul 6, 2026 20:434,19121,385,37013,414,00002,117,632stderr
5Jul 6, 2026 20:434,19321,313,95313,420,00002,117,632stderr
6Jul 6, 2026 20:434,19521,345,74213,427,00002,117,632stderr
7Jul 6, 2026 20:434,19921,476,98213,437,00002,117,632stderr
8Jul 6, 2026 20:434,20521,432,28913,456,00002,117,632stderr
9Jul 6, 2026 20:434,20921,552,70113,471,00002,117,632stderr