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 listSep 6, 2026 07:35Warren FuWarren FuError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 6, 2026 07:35013,476,0712,262,0001,104,0002,121,728expected "976595 ", got "97528 "
2Sep 6, 2026 07:35013,744,4432,405,0001,083,0002,121,728expected "977364 ", got "98145 "
3Sep 6, 2026 07:35013,484,9382,273,0001,111,0002,121,728expected "977493 ", got "97927 "