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 20:10Yuriy LyfenkoYuriy LyfenkoScore: 5,373Success
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 21:115,3282,375,341,02115,044,0002,005,0002,269,184
2May 17, 2021 20:105,3311,119,768,12316,057,0001,003,0002,527,232
3May 17, 2021 21:115,336326,778,06116,070,0001,004,0002,260,992
4May 17, 2021 20:105,3372,294,275,20416,129,000948,0002,269,184
5May 17, 2021 20:105,343995,455,63415,198,0001,899,0002,265,088
6May 17, 2021 21:115,3471,369,929,50616,104,0001,006,0002,265,088
7May 17, 2021 20:105,3471,523,014,95917,109,00002,260,992
8May 17, 2021 21:115,3551,454,065,48616,128,0001,008,0002,400,256
9May 17, 2021 21:115,3582,277,575,73315,129,0002,017,0002,527,232
10May 17, 2021 20:105,3621,195,266,43216,148,0001,009,0002,260,992
11May 17, 2021 20:105,363861,233,59817,163,00002,265,088
12May 17, 2021 20:105,3641,459,702,44716,155,0001,009,0002,265,088
13May 17, 2021 21:115,37351,011,90516,184,0001,011,0002,265,088
14May 17, 2021 20:105,3742,160,056,26016,186,0001,011,0002,265,088
15May 17, 2021 21:115,3782,881,784,48314,174,0003,037,0002,269,184
16May 17, 2021 21:115,3802,813,416,91717,217,00002,265,088
17May 17, 2021 21:115,3811,123,367,06415,194,0002,025,0002,269,184
18May 17, 2021 20:105,383887,892,59915,313,0001,914,0002,265,088
19May 17, 2021 21:115,5302,038,221,20617,697,58302,281,472
20May 17, 2021 20:105,5452,039,538,88117,743,91802,273,280
21May 17, 2021 20:105,5491,041,689,25117,756,19802,277,376
22May 17, 2021 20:105,557731,776,30917,780,82202,281,472
23May 17, 2021 21:115,564220,312,17417,805,45702,277,376
24May 17, 2021 21:115,57990,613,33617,852,10702,277,376