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 11, 2021 21:27alex3dalex3dError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 21:2200000Wrong answer: expected: 980032 got: -249908160
2May 11, 2021 21:2733,052161,404,158105,766,22502,297,856
3May 11, 2021 21:2733,082164,813,842105,863,42702,174,976
4May 11, 2021 21:2733,128178,512,334106,008,13202,297,856