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 1, 2022 07:36Keichi TakahashiKeichi TakahashiScore: 5,274Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 1, 2022 07:365,21245,760,01515,637,0001,042,0002,265,088
2May 30, 2022 13:525,21632,220,06915,647,0001,043,0002,265,088
3May 30, 2022 13:375,22532,810,85516,721,00002,387,968
4May 30, 2022 13:375,22839,613,83115,685,0001,045,0002,265,088
5May 30, 2022 13:375,22945,981,99515,689,0001,045,0002,387,968
6May 30, 2022 13:525,22941,364,58516,733,00002,265,088
7May 30, 2022 13:375,23039,622,16315,690,0001,046,0002,383,872
8Jun 1, 2022 07:365,23344,846,31716,746,00002,379,776
9May 30, 2022 13:525,26142,900,11315,846,000990,0002,265,088
10May 30, 2022 13:525,26746,421,45114,871,0001,982,0002,392,064
11May 30, 2022 13:375,26942,312,05414,879,0001,983,0002,265,088
12Jun 1, 2022 07:365,26948,924,97915,871,000991,0002,265,088
13May 30, 2022 13:525,27141,358,20315,875,000992,0002,265,088
14Jun 1, 2022 07:365,27241,382,16114,886,0001,984,0002,265,088
15May 30, 2022 13:525,27233,912,86116,871,00002,265,088
16Jun 1, 2022 07:365,27234,087,57915,879,000992,0002,387,968
17May 30, 2022 13:375,27233,960,22115,879,000992,0002,265,088
18Jun 1, 2022 07:365,27343,164,82916,872,00002,392,064
19Jun 1, 2022 07:365,27434,167,29616,878,00002,392,064
20May 30, 2022 13:375,27535,305,01415,887,000992,0002,510,848
21May 30, 2022 13:525,27636,177,98214,897,0001,986,0002,383,872
22May 30, 2022 13:525,27640,041,05516,883,00002,523,136
23May 30, 2022 13:375,27843,030,41415,896,000993,0002,265,088
24May 30, 2022 13:375,27847,827,76015,895,000993,0002,383,872
25Jun 1, 2022 07:365,27843,666,23415,896,000993,0002,392,064
26Jun 1, 2022 07:365,27847,361,89816,888,00002,387,968
27May 30, 2022 13:525,28146,027,79615,904,000994,0002,527,232
28May 30, 2022 13:525,43388,316,66317,387,15802,244,608
29May 30, 2022 13:525,44075,081,58017,406,56802,281,472
30Jun 1, 2022 07:365,44695,554,70117,427,39202,285,568
31May 30, 2022 13:375,44679,357,48517,427,91702,277,376
32May 30, 2022 13:375,45164,939,72817,444,17002,281,472
33Jun 1, 2022 07:365,45466,983,06417,453,29102,273,280
34Jun 1, 2022 07:365,46299,161,50517,479,86802,277,376
35May 30, 2022 13:525,46579,673,43917,488,83402,273,280
36May 30, 2022 13:375,46686,137,55917,489,81602,277,376