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 listMay 15, 2021 08:25alex3dalex3dError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 08:2500000Wrong answer: expected: 980381 got: d=30.843 ms 980381
2May 15, 2021 08:2600000Wrong answer: expected: 980322 got: d=34.193 ms 980322
3May 15, 2021 09:0000000Wrong answer: expected: 980140 got: d=30.122 ms 980140
4May 15, 2021 09:0100000Wrong answer: expected: 980585 got: d=32.634 ms 980585
5May 16, 2021 06:5900000Wrong answer: expected: 979968 got: d=23.794 ms 979968