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 listNov 1, 2021 11:25Ilya AniskovetsIlya AniskovetsScore: 5,343Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 11:255,28735,324,03614,929,0001,990,0002,392,064
2Nov 1, 2021 11:255,30543,732,67415,979,000998,0002,383,872
3Nov 1, 2021 11:255,30742,215,56914,984,0001,997,0002,379,776
4Nov 1, 2021 11:255,32142,753,70715,023,0002,003,0002,265,088
5Nov 1, 2021 11:255,34138,817,72016,087,0001,005,0002,392,064
6Nov 1, 2021 11:255,34233,791,05915,083,0002,011,0002,265,088
7Nov 1, 2021 11:255,34343,284,65016,092,0001,005,0002,265,088
8Nov 1, 2021 11:255,34334,357,21215,087,0002,011,0002,392,064
9Nov 1, 2021 11:255,35142,746,16615,110,0002,014,0002,265,088
10Nov 1, 2021 11:255,48979,672,51317,563,74502,285,568
11Nov 1, 2021 11:255,49385,545,25417,578,84902,285,568
12Nov 1, 2021 11:255,50053,777,93017,599,11102,281,472