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 19:01Victor 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 19:024,17921,084,72913,374,00002,117,632stderr
2Jul 2, 2026 19:024,18221,094,18413,385,00002,117,632stderr
3Jul 2, 2026 19:024,18621,333,07313,397,00002,117,632stderr
4Jul 2, 2026 19:024,19321,120,35513,420,00002,117,632stderr
5Jul 2, 2026 19:024,19421,147,18113,423,00002,117,632stderr
6Jul 2, 2026 19:024,20021,126,79413,442,00002,117,632stderr
7Jul 2, 2026 19:024,20021,112,14113,443,00002,117,632stderr
8Jul 2, 2026 19:024,20121,137,98513,444,00002,117,632stderr
9Jul 2, 2026 19:024,25724,985,13813,625,00002,117,632stderr