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 24, 2021 12:48Dmitry DolgopolovDmitry DolgopolovScore: 5,288Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 12:485,27040,770,21615,873,000992,0002,265,088
2May 24, 2021 12:475,27240,354,75916,870,00002,265,088
3May 24, 2021 12:485,27245,924,29015,879,000992,0002,383,872
4May 24, 2021 12:485,27334,791,85116,873,00002,265,088
5May 24, 2021 12:475,27644,116,13315,889,000993,0002,265,088
6May 24, 2021 12:475,27647,898,81415,891,000993,0002,265,088
7May 24, 2021 12:475,27741,874,62315,892,000993,0002,387,968
8May 24, 2021 12:485,27742,381,28914,899,0001,986,0002,265,088
9May 24, 2021 12:475,27842,688,97715,895,000993,0002,265,088
10May 24, 2021 12:475,27848,154,32314,902,0001,987,0002,392,064
11May 24, 2021 12:485,28134,629,76214,912,0001,988,0002,265,088
12May 24, 2021 12:485,28547,450,63114,922,0001,989,0002,383,872
13May 24, 2021 12:475,28830,395,77114,930,0001,990,0002,387,968
14May 24, 2021 12:475,29442,896,08715,945,000996,0002,396,160
15May 24, 2021 12:485,30947,944,43315,989,000999,0002,265,088
16May 24, 2021 12:485,31242,970,14514,998,0001,999,0002,265,088
17May 24, 2021 12:475,31642,815,60616,012,0001,000,0002,265,088
18May 24, 2021 12:485,31833,319,09616,016,0001,001,0002,265,088
19May 24, 2021 12:485,47883,809,67317,530,18302,269,184
20May 24, 2021 12:475,47885,672,60517,529,55602,289,664
21May 24, 2021 12:475,48286,040,25017,542,08702,277,376
22May 24, 2021 12:485,50082,741,29017,599,38602,273,280
23May 24, 2021 12:485,50381,704,02317,610,26102,273,280
24May 24, 2021 12:475,50476,705,44217,612,95902,277,376