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:28Yuriy LyfenkoYuriy LyfenkoScore: 5,086Success
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:285,03435,338,91514,095,0002,013,0002,396,160
2May 28, 2021 06:305,04834,378,63015,146,0001,009,0002,473,984
3May 28, 2021 06:305,04944,735,86814,139,0002,019,0002,387,968
4May 28, 2021 06:305,05036,310,85814,140,0002,020,0002,265,088
5May 28, 2021 06:305,05345,477,11415,160,0001,010,0002,396,160
6May 28, 2021 06:285,05340,732,14815,159,0001,010,0002,269,184
7May 28, 2021 06:305,05648,246,58214,156,0002,022,0002,387,968
8May 28, 2021 06:285,06241,908,91315,186,0001,012,0002,392,064
9May 28, 2021 06:305,06433,020,66914,180,0002,025,0002,265,088
10May 28, 2021 06:285,06950,350,16314,194,0002,027,0002,265,088
11May 28, 2021 06:285,07237,550,30315,217,0001,014,0002,265,088
12May 28, 2021 06:285,07732,894,80214,215,0002,030,0002,392,064
13May 28, 2021 06:285,08636,143,51114,240,0002,034,0002,396,160
14May 28, 2021 06:285,08738,052,77214,243,0002,034,0002,392,064
15May 28, 2021 06:285,08835,934,77214,248,0002,035,0002,383,872
16May 28, 2021 06:305,08947,486,61614,251,0002,035,0002,396,160
17May 28, 2021 06:305,09444,584,58114,264,0002,037,0002,265,088
18May 28, 2021 06:305,09733,216,98715,291,0001,019,0002,486,272
19May 28, 2021 06:305,23867,477,80016,762,34302,273,280
20May 28, 2021 06:285,24662,133,53116,785,72102,273,280
21May 28, 2021 06:285,24879,142,03016,794,81302,269,184
22May 28, 2021 06:305,26151,913,10016,833,63702,277,376
23May 28, 2021 06:285,27257,537,11816,871,59402,277,376
24May 28, 2021 06:305,29198,761,18916,931,98202,273,280