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 23, 2021 04:26Vasily TitskiyVasily TitskiyScore: 26,268Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 04:2626,249145,357,92583,997,93502,281,472
2May 23, 2021 04:2626,266139,804,27784,052,47102,293,760
3May 23, 2021 04:2626,267141,422,66584,055,80302,170,880
4May 23, 2021 04:2626,268158,981,47284,057,96902,289,664
5May 23, 2021 04:2626,271139,139,58484,066,52202,277,376
6May 23, 2021 04:2626,287144,480,92584,117,55802,289,664