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 21, 2021 17:01Dmitry DolgopolovDmitry DolgopolovScore: 5,365Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2021 17:015,31747,546,54215,014,0002,001,0002,379,776
2May 21, 2021 17:015,32236,567,36316,030,0001,001,0002,265,088
3May 21, 2021 17:015,33043,335,31415,050,0002,006,0002,392,064
4May 21, 2021 17:015,33636,441,31415,066,0002,008,0002,379,776
5May 21, 2021 17:015,33741,057,90115,069,0002,009,0002,265,088
6May 21, 2021 17:015,33948,653,34416,081,0001,005,0002,387,968
7May 21, 2021 17:015,36541,149,85216,158,0001,009,0002,392,064
8May 21, 2021 17:015,36542,691,41315,148,0002,019,0002,265,088
9May 21, 2021 17:015,37149,329,44816,176,0001,011,0002,265,088
10May 21, 2021 17:015,56775,020,06517,813,85802,285,568
11May 21, 2021 17:015,57069,201,73717,825,41002,281,472
12May 21, 2021 17:015,59680,110,21817,908,13902,285,568
13May 21, 2021 17:015,60666,298,73317,937,70002,277,376
14May 21, 2021 17:015,62471,934,00317,996,44702,281,472
15May 21, 2021 17:015,63385,553,62918,026,53302,281,472