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:25izotoffizotoffError
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:37012,394,26501,596,0002,166,784expected "975716 ", got "0 "
2Oct 15, 2026 21:37013,486,03401,672,0002,195,456expected "976080 ", got "0 "
3Oct 15, 2026 21:37013,819,9941,461,00002,195,456expected "976187 ", got "0 "