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 16:45Victor MerckléVictor MerckléScore: 4,263Success
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 16:464,25521,462,62113,616,00002,117,632stderr
2Jul 2, 2026 16:464,25821,534,91913,626,00002,117,632stderr
3Jul 2, 2026 16:464,26021,500,00713,634,00002,117,632stderr
4Jul 2, 2026 16:464,26021,479,21013,632,00002,117,632stderr
5Jul 2, 2026 16:464,26321,350,41213,642,00002,117,632stderr
6Jul 2, 2026 16:464,26321,518,90313,644,00002,117,632stderr
7Jul 2, 2026 16:464,26721,556,51413,656,00002,117,632stderr
8Jul 2, 2026 16:464,26821,587,08813,660,00002,117,632stderr
9Jul 2, 2026 16:464,28021,590,26913,697,00002,117,632stderr