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 11, 2026 22:05Victor MerckléVictor MerckléScore: 4,472Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 11, 2026 22:064,34727,247,63813,912,00002,113,536
2Jun 11, 2026 22:064,38830,966,28314,043,00002,113,536
3Jun 11, 2026 22:064,44127,070,49414,212,00002,113,536
4Jun 11, 2026 22:064,44530,213,14914,227,00002,113,536
5Jun 11, 2026 22:064,47230,891,34814,313,00002,113,536
6Jun 11, 2026 22:064,48227,993,01813,290,0001,054,0002,113,536
7Jun 11, 2026 22:064,51929,832,10914,462,00002,113,536
8Jun 11, 2026 22:064,57129,454,84713,627,0001,001,0002,113,536
9Jun 11, 2026 22:064,83631,493,77914,370,0001,106,0002,113,536