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 listAug 29, 2022 12:46zhiayangzhiayangScore: 6,062Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 29, 2022 12:466,01992,778,44319,261,68602,297,856
2Aug 29, 2022 12:466,026103,025,16719,282,76302,293,760
3Aug 29, 2022 12:466,04285,842,13919,334,04402,301,952
4Aug 29, 2022 12:466,062100,099,92719,397,55802,297,856
5Aug 29, 2022 12:466,08067,600,12319,454,97402,293,760
6Aug 29, 2022 12:466,21465,706,00819,885,84802,293,760