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 17, 2021 19:38Yuriy LyfenkoYuriy LyfenkoScore: 5,378Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:385,33841,386,65715,072,0002,009,0002,265,088
2May 17, 2021 19:385,35447,837,03816,126,0001,007,0002,265,088
3May 17, 2021 19:385,35538,083,36715,120,0002,016,0002,400,256
4May 17, 2021 19:385,36335,119,61316,154,0001,009,0002,265,088
5May 17, 2021 19:385,36840,014,39417,176,00002,392,064
6May 17, 2021 19:385,37043,176,63115,163,0002,021,0002,527,232
7May 17, 2021 19:385,37834,444,66316,199,0001,012,0002,396,160
8May 17, 2021 19:385,38235,996,38317,222,00002,265,088
9May 17, 2021 19:385,40436,902,58616,275,0001,017,0002,392,064
10May 17, 2021 19:385,57775,220,72117,847,07402,273,280
11May 17, 2021 19:385,62294,030,41517,991,96502,281,472
12May 17, 2021 19:385,65673,094,31418,100,55502,269,184