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 listNov 23, 2026 07:06SODIUM 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
1Nov 23, 2026 07:06026,593,78716,525,0001,008,0002,113,536expected "975258 ", got "975257 "
2Nov 23, 2026 07:065,45926,494,82216,437,0001,032,0002,113,536
3Nov 23, 2026 07:065,50126,598,75216,569,0001,035,0002,113,536