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 30, 2021 15:57Yuriy LyfenkoYuriy LyfenkoScore: 5,047Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 15:575,01936,241,59414,053,0002,007,0002,265,088
2May 30, 2021 15:575,02344,228,62814,064,0002,009,0002,265,088
3May 30, 2021 15:575,02345,100,59714,066,0002,009,0002,392,064
4May 30, 2021 15:575,03047,440,59614,085,0002,012,0002,400,256
5May 30, 2021 15:575,04342,216,89315,129,0001,008,0002,506,752
6May 30, 2021 15:575,04334,631,85415,130,0001,008,0002,396,160
7May 30, 2021 15:575,04737,202,19914,131,0002,018,0002,265,088
8May 30, 2021 15:575,06337,605,60715,191,0001,012,0002,396,160
9May 30, 2021 15:575,06546,195,43615,196,0001,013,0002,265,088
10May 30, 2021 15:575,22374,573,62516,714,37102,281,472
11May 30, 2021 15:575,24268,628,66816,773,30602,281,472
12May 30, 2021 15:575,24863,275,10716,792,66702,240,512