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:03SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 4,934Success
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:044,88924,376,77415,647,00002,113,536
2May 16, 2026 15:044,91125,809,14714,678,0001,040,0002,113,536
3May 16, 2026 15:044,91326,724,59814,710,0001,014,0002,113,536
4May 16, 2026 15:044,92726,215,16714,722,0001,045,0002,113,536
5May 16, 2026 15:044,93426,168,66614,775,0001,015,0002,113,536
6May 16, 2026 15:044,93624,948,29714,777,0001,021,0002,113,536
7May 16, 2026 15:044,95624,615,05614,852,0001,009,0002,113,536
8May 16, 2026 15:044,95724,966,44614,844,0001,020,0002,113,536
9May 16, 2026 15:044,98524,675,72814,866,0001,089,0002,113,536