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 18, 2026 08:48SODIUM IS NOT A CATSODIUM IS NOT A CATError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2026 08:48028,133,11615,296,0001,084,0002,113,536expected "976281 ", got "976280 "
2May 18, 2026 08:48025,672,72815,389,0001,086,0002,113,536expected "975167 ", got "975164 "
3May 18, 2026 08:48028,211,12115,226,0001,082,0002,113,536expected "976493 ", got "976491 "