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 23:12Yuriy LyfenkoYuriy LyfenkoScore: 5,266Success
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 23:135,2274,204,370,98214,636,0002,090,0002,265,088
2May 17, 2021 23:135,2351,650,342,12815,767,000985,0002,527,232
3May 17, 2021 23:135,2373,106,761,43915,774,000985,0002,527,232
4May 17, 2021 23:145,2394,832,884,14815,719,0001,047,0002,523,136
5May 17, 2021 23:135,2412,780,759,34314,797,0001,973,0002,269,184
6May 17, 2021 23:135,2472,722,562,50615,804,000987,0002,519,040
7May 17, 2021 23:125,2493,159,744,74815,810,000988,0002,523,136
8May 17, 2021 23:125,2492,189,003,88915,808,000988,0002,523,136
9May 17, 2021 23:145,2493,773,444,47413,834,0002,964,0002,523,136
10May 17, 2021 23:125,250423,732,83916,801,00002,396,160
11May 17, 2021 23:145,2542,801,216,52314,835,0001,978,0002,260,992
12May 17, 2021 23:145,2564,331,822,89614,841,0001,978,0002,519,040
13May 17, 2021 23:125,2573,057,740,85916,821,00002,260,992
14May 17, 2021 23:145,2603,067,191,09316,832,00002,260,992
15May 17, 2021 23:145,2602,276,488,23615,898,000935,0002,519,040
16May 17, 2021 23:125,2613,147,974,83513,865,0002,971,0002,269,184
17May 17, 2021 23:145,2621,434,744,26614,858,0001,981,0002,265,088
18May 17, 2021 23:145,2641,952,044,76415,854,000990,0002,265,088
19May 17, 2021 23:125,2663,275,633,90015,861,000991,0002,523,136
20May 17, 2021 23:135,2744,658,580,62915,886,000992,0002,523,136
21May 17, 2021 23:125,2772,924,255,16316,886,00002,523,136
22May 17, 2021 23:135,2812,881,183,76316,899,00002,260,992
23May 17, 2021 23:145,288660,010,70316,922,00002,260,992
24May 17, 2021 23:135,2904,301,914,82315,932,000995,0002,519,040
25May 17, 2021 23:125,2973,060,703,88215,953,000997,0002,523,136
26May 17, 2021 23:125,3004,833,616,03516,960,00002,519,040
27May 17, 2021 23:135,3002,987,637,58514,964,0001,995,0002,260,992
28May 17, 2021 23:135,4311,873,950,06717,378,12802,285,568
29May 17, 2021 23:125,4432,413,424,23117,418,27402,285,568
30May 17, 2021 23:145,4452,503,710,97717,423,04002,285,568
31May 17, 2021 23:145,4544,193,514,47217,451,69002,289,664
32May 17, 2021 23:135,4622,646,517,05517,479,04802,281,472
33May 17, 2021 23:135,4623,692,884,99017,478,44202,293,760
34May 17, 2021 23:125,4795,486,431,43617,533,12402,289,664
35May 17, 2021 23:145,4833,626,037,16717,547,19502,285,568
36May 17, 2021 23:125,489953,040,19317,563,91402,281,472