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 5, 2021 12:23Andrey TsvetkovAndrey TsvetkovScore: 5,656Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 12:235,62442,347,63216,997,000999,0002,482,176
2Sep 5, 2021 12:235,62637,912,94717,004,0001,000,0002,342,912
3Sep 5, 2021 12:235,63342,331,40216,022,0002,002,0002,342,912
4Sep 5, 2021 12:235,63846,071,64517,040,0001,002,0002,342,912
5Sep 5, 2021 12:235,65145,191,95116,074,0002,009,0002,342,912
6Sep 5, 2021 12:235,65244,361,05117,083,0001,004,0002,342,912
7Sep 5, 2021 12:235,65645,389,79716,088,0002,011,0002,490,368
8Sep 5, 2021 12:235,66445,381,69316,111,0002,013,0002,494,464
9Sep 5, 2021 12:235,66744,472,68515,111,0003,022,0002,342,912
10Sep 5, 2021 12:235,82166,274,42218,628,02702,191,360
11Sep 5, 2021 12:236,03485,039,26019,309,76302,187,264
12Sep 5, 2021 12:236,06565,315,36519,407,06502,207,744