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 5, 2026 07:13e1011e1011Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2026 07:13048,320,09636,361,0001,024,0002,113,536expected "975800 ", got "121664 "
2Nov 5, 2026 07:13044,741,45832,879,0001,013,0002,113,536expected "977168 ", got "121426 "
3Nov 5, 2026 07:13044,827,77832,828,0001,164,0002,113,536expected "975242 ", got "121981 "