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 listJun 3, 2021 21:03Yuriy LyfenkoYuriy LyfenkoScore: 5,028Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 21:034,993544,283,71213,982,0001,997,0002,260,992
2Jun 3, 2021 21:034,996542,210,86914,987,000999,0002,523,136
3Jun 3, 2021 21:034,997543,236,43613,992,0001,998,0002,523,136
4Jun 3, 2021 21:035,006546,833,40714,016,0002,002,0002,265,088
5Jun 3, 2021 21:035,006539,157,11215,017,0001,001,0002,260,992
6Jun 3, 2021 21:035,008545,267,91415,026,0001,001,0002,265,088
7Jun 3, 2021 21:035,008547,833,37114,022,0002,003,0002,523,136
8Jun 3, 2021 21:035,017543,705,38315,050,0001,003,0002,523,136
9Jun 3, 2021 21:035,019543,541,52714,054,0002,007,0002,265,088
10Jun 3, 2021 21:035,021541,514,28014,058,0002,008,0002,260,992
11Jun 3, 2021 21:035,022546,110,85115,065,0001,004,0002,527,232
12Jun 3, 2021 21:035,023542,391,11514,063,0002,009,0002,265,088
13Jun 3, 2021 21:035,028546,664,03315,086,0001,005,0002,527,232
14Jun 3, 2021 21:035,028541,630,09815,083,0001,005,0002,260,992
15Jun 3, 2021 21:035,031537,645,67115,092,0001,006,0002,396,160
16Jun 3, 2021 21:035,036542,972,52315,107,0001,007,0002,265,088
17Jun 3, 2021 21:035,044543,667,25614,123,0002,017,0002,265,088
18Jun 3, 2021 21:035,054545,981,09614,153,0002,021,0002,260,992
19Jun 3, 2021 21:035,157573,607,72016,500,94202,273,280
20Jun 3, 2021 21:035,158567,642,88716,506,29502,240,512
21Jun 3, 2021 21:035,170584,469,80816,545,12802,240,512
22Jun 3, 2021 21:035,171578,027,81716,546,54002,240,512
23Jun 3, 2021 21:035,182589,324,06016,581,72302,269,184
24Jun 3, 2021 21:035,193583,056,94316,618,88202,244,608