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:44SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 5,363Success
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:445,33027,597,58017,058,00002,113,536
2May 16, 2026 15:445,33926,679,48317,085,00002,113,536
3May 16, 2026 15:445,34525,918,14817,107,00002,113,536
4May 16, 2026 15:445,34528,540,14517,104,00002,113,536
5May 16, 2026 15:445,36330,927,08616,143,0001,020,0002,113,536
6May 16, 2026 15:445,36825,948,49217,180,00002,113,536
7May 16, 2026 15:445,36928,707,51017,182,00002,113,536
8May 16, 2026 15:445,37027,809,17617,186,00002,113,536
9May 16, 2026 15:445,38825,830,47316,193,0001,051,0002,113,536