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 28, 2021 06:11Yuriy LyfenkoYuriy LyfenkoScore: 5,091Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 06:205,04442,231,28114,125,0002,017,0002,265,088
2May 28, 2021 06:205,05133,035,28414,144,0002,020,0002,510,848
3May 28, 2021 06:205,05337,775,60415,160,0001,010,0002,265,088
4May 28, 2021 06:205,05641,848,83015,167,0001,011,0002,396,160
5May 28, 2021 06:205,05632,579,71714,157,0002,022,0002,392,064
6May 28, 2021 06:205,07931,811,06114,223,0002,031,0002,265,088
7May 28, 2021 06:205,08946,080,63315,269,0001,017,0002,265,088
8May 28, 2021 06:205,09146,613,49614,254,0002,036,0002,269,184
9May 28, 2021 06:205,09840,185,68316,315,00002,387,968
10May 28, 2021 06:205,23751,829,99916,757,76102,277,376
11May 28, 2021 06:205,24469,729,20416,781,32602,273,280
12May 28, 2021 06:205,27883,802,93616,890,46902,273,280
13May 28, 2021 06:116,45052,015,87020,640,21102,273,280
14May 28, 2021 06:116,48683,599,37020,755,69502,277,376
15May 28, 2021 06:116,49088,878,60320,766,69402,277,376