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 listSep 29, 2021 21:28Andrey TsvetkovAndrey TsvetkovScore: 5,640Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2021 21:285,61637,122,93616,973,000998,0002,338,816
2Sep 29, 2021 21:285,62035,781,77916,986,000999,0002,506,752
3Sep 29, 2021 21:285,62340,781,39716,996,000999,0002,342,912
4Sep 29, 2021 21:285,62944,047,50317,014,0001,000,0002,342,912
5Sep 29, 2021 21:285,64041,504,05217,047,0001,002,0002,502,656
6Sep 29, 2021 21:285,64042,409,41117,047,0001,002,0002,506,752
7Sep 29, 2021 21:285,64038,356,09116,044,0002,005,0002,342,912
8Sep 29, 2021 21:285,66746,393,19517,126,0001,007,0002,338,816
9Sep 29, 2021 21:285,67049,352,94217,136,0001,008,0002,510,848
10Sep 29, 2021 21:285,67581,678,00218,159,18202,203,648
11Sep 29, 2021 21:285,71268,153,65618,278,08802,207,744
12Sep 29, 2021 21:285,86790,458,09718,773,88502,207,744