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 listOct 27, 2021 09:29Ilya AniskovetsIlya AniskovetsScore: 5,407Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 09:295,34346,466,80015,086,0002,011,0002,392,064
2Oct 27, 2021 09:295,36343,682,82815,144,0002,019,0002,527,232
3Oct 27, 2021 09:295,36946,971,18715,159,0002,021,0002,265,088
4Oct 27, 2021 09:295,37045,191,47315,163,0002,021,0002,265,088
5Oct 27, 2021 09:295,37843,112,97415,187,0002,024,0002,265,088
6Oct 27, 2021 09:295,39235,676,72015,225,0002,030,0002,265,088
7Oct 27, 2021 09:295,40744,771,69715,267,0002,035,0002,383,872
8Oct 27, 2021 09:295,40941,230,30716,290,0001,018,0002,265,088
9Oct 27, 2021 09:295,41436,628,28916,306,0001,019,0002,265,088
10Oct 27, 2021 09:295,58977,245,00817,883,57302,281,472
11Oct 27, 2021 09:295,60586,056,14417,935,60402,285,568
12Oct 27, 2021 09:295,60885,199,48817,945,81202,240,512