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 30, 2021 21:31Egor SergeevEgor SergeevScore: 5,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 30, 2021 21:315,19541,577,39916,625,00002,535,424
2May 30, 2021 21:315,21132,303,56916,675,00002,498,560
3May 30, 2021 21:315,21634,716,12816,691,00002,498,560
4May 30, 2021 21:315,22339,951,42516,712,00002,490,368
5May 30, 2021 21:315,22843,139,75916,729,00002,498,560
6May 30, 2021 21:315,22940,306,23816,732,00002,277,376
7May 30, 2021 21:315,26843,228,40515,866,000991,0002,494,464
8May 30, 2021 21:315,26839,156,68615,866,000991,0002,498,560
9May 30, 2021 21:315,27741,022,70915,892,000993,0002,498,560
10May 30, 2021 21:315,45371,214,81317,449,50002,260,992
11May 30, 2021 21:315,47367,063,70717,513,71302,248,704
12May 30, 2021 21:315,55974,881,00317,788,16702,240,512