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 24, 2021 06:01Andrei GrazhdankovAndrei GrazhdankovScore: 6,009Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 06:015,96735,293,05016,080,0003,015,0002,527,232
2May 24, 2021 06:025,97042,594,07716,089,0003,016,0002,334,720
3May 24, 2021 06:025,97442,362,25117,104,0002,012,0002,334,720
4May 24, 2021 06:025,97747,881,89116,106,0003,019,0002,334,720
5May 24, 2021 06:025,97950,083,21016,113,0003,021,0002,334,720
6May 24, 2021 06:015,98635,060,52017,140,0002,016,0002,334,720
7May 24, 2021 06:025,98833,235,27817,146,0002,017,0002,334,720
8May 24, 2021 06:025,99047,651,66817,152,0002,017,0002,334,720
9May 24, 2021 06:015,99138,491,11017,041,0002,130,0002,527,232
10May 24, 2021 06:025,99341,577,40217,160,0002,018,0002,527,232
11May 24, 2021 06:025,99645,322,25616,159,0003,029,0002,379,776
12May 24, 2021 06:025,99645,298,12816,158,0003,029,0002,334,720
13May 24, 2021 06:025,99644,965,43917,169,0002,019,0002,334,720
14May 24, 2021 06:025,99644,370,48617,167,0002,019,0002,523,136
15May 24, 2021 06:015,99833,361,78616,162,0003,030,0002,334,720
16May 24, 2021 06:015,99845,377,59516,164,0003,030,0002,514,944
17May 24, 2021 06:026,00143,638,53618,192,0001,010,0002,334,720
18May 24, 2021 06:016,00244,735,62617,186,0002,021,0002,334,720
19May 24, 2021 06:026,00941,869,91317,205,0002,024,0002,334,720
20May 24, 2021 06:026,01139,054,98216,198,0003,037,0002,531,328
21May 24, 2021 06:026,01448,405,71217,220,0002,025,0002,527,232
22May 24, 2021 06:026,01541,966,72516,209,0003,039,0002,334,720
23May 24, 2021 06:026,01637,452,56916,211,0003,039,0002,334,720
24May 24, 2021 06:026,022102,266,92019,271,62602,240,512
25May 24, 2021 06:016,02742,055,77116,241,0003,045,0002,334,720
26May 24, 2021 06:026,02842,984,29116,244,0003,045,0002,314,240
27May 24, 2021 06:016,02937,007,75517,263,0002,031,0002,334,720
28May 24, 2021 06:016,04040,186,15816,276,0003,051,0002,523,136
29May 24, 2021 06:026,04074,666,52219,327,96902,228,224
30May 24, 2021 06:026,08986,469,84919,486,16602,232,320
31May 24, 2021 06:016,09096,283,75219,487,64502,228,224
32May 24, 2021 06:016,09784,991,59719,510,12402,236,416
33May 24, 2021 06:016,10588,579,21019,534,42502,228,224
34May 24, 2021 06:026,11098,434,32719,552,44102,232,320
35May 24, 2021 06:026,12656,516,40219,601,95202,236,416
36May 24, 2021 06:026,18982,990,99119,803,38902,232,320