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 28, 2021 21:44Dmitry DolgopolovDmitry DolgopolovError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 21:4400000Wrong answer: expected "976547 ", got "976803 "
2May 28, 2021 21:4400000Wrong answer: expected "977007 ", got "974447 "
3May 28, 2021 21:4500000Wrong answer: expected "975133 ", got "977693 "
4May 28, 2021 21:4500000Wrong answer: expected "975744 ", got "983680 "
5May 28, 2021 21:4600000Wrong answer: expected "974560 ", got "979680 "
6May 28, 2021 21:4600000Wrong answer: expected "977546 ", got "973194 "
7May 28, 2021 21:4600000Wrong answer: expected "977137 ", got "969201 "
8May 28, 2021 21:4700000Wrong answer: expected "975453 ", got "976221 "