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 listOct 15, 2026 21:26izotoffizotoffError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 21:42013,001,1801,467,00002,195,456expected "974863 ", got "0 "
2Oct 15, 2026 21:42013,272,24501,592,0002,166,784expected "975495 ", got "0 "
3Oct 15, 2026 21:42012,614,4101,494,00002,166,784expected "977474 ", got "0 "