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 10:08SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 5,279Success
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 10:084,93124,819,86915,780,00002,113,536
2May 16, 2026 10:084,93526,629,38715,794,00002,113,536
3May 16, 2026 10:084,94728,388,86415,832,00002,113,536
4May 16, 2026 10:085,26925,678,09416,863,00002,113,536
5May 16, 2026 10:085,27927,424,11515,868,0001,025,0002,113,536
6May 16, 2026 10:085,30926,603,11116,990,00002,113,536
7May 16, 2026 10:085,31026,730,64915,979,0001,015,0002,113,536
8May 16, 2026 10:085,32825,864,54416,038,0001,012,0002,113,536
9May 16, 2026 10:085,32925,688,61516,044,0001,009,0002,113,536