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 09:34SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 5,170Success
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 09:355,14925,885,47516,479,00002,113,536
2May 16, 2026 09:355,15625,229,74916,501,00002,113,536
3May 16, 2026 09:355,15628,281,66016,502,00002,113,536
4May 16, 2026 09:355,15827,302,17616,507,00002,113,536
5May 16, 2026 09:355,17025,783,94615,499,0001,048,0002,113,536
6May 16, 2026 09:355,17225,307,61716,551,00002,113,536
7May 16, 2026 09:355,17825,762,39016,570,00002,113,536
8May 16, 2026 09:355,20327,488,75415,628,0001,022,0002,113,536
9May 16, 2026 09:355,20425,872,93815,626,0001,027,0002,113,536