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 listMay 16, 2026 15:37SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 5,053Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2026 15:375,03525,684,25116,114,00002,113,536
2May 16, 2026 15:375,04525,477,54916,144,00002,113,536
3May 16, 2026 15:375,04525,726,15416,146,00002,113,536
4May 16, 2026 15:375,05127,477,75115,120,0001,046,0002,113,536
5May 16, 2026 15:375,05327,112,95115,165,0001,005,0002,113,536
6May 16, 2026 15:375,06024,924,05316,193,00002,113,536
7May 16, 2026 15:375,06125,007,76715,150,0001,048,0002,113,536
8May 16, 2026 15:375,06225,852,36315,154,0001,045,0002,113,536
9May 16, 2026 15:375,07927,887,77015,237,0001,018,0002,113,536