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 04:38Yuriy LyfenkoYuriy LyfenkoScore: 5,416Success
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 04:385,36945,368,63215,161,0002,021,0002,527,232
2May 17, 2021 04:385,38839,666,84114,200,0003,042,0002,265,088
3May 17, 2021 04:385,39538,292,78516,248,0001,015,0002,265,088
4May 17, 2021 04:385,40031,935,80117,281,00002,265,088
5May 17, 2021 04:385,40639,889,50617,299,00002,265,088
6May 17, 2021 04:385,40937,945,18615,272,0002,036,0002,400,256
7May 17, 2021 04:385,41646,931,75615,292,0002,039,0002,269,184
8May 17, 2021 04:385,42132,839,32916,326,0001,020,0002,396,160
9May 17, 2021 04:385,42838,752,46616,347,0001,021,0002,265,088
10May 17, 2021 04:385,62475,121,49017,998,17502,281,472
11May 17, 2021 04:385,64261,399,92018,054,35902,281,472
12May 17, 2021 04:385,64981,111,48118,075,51802,281,472