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 19, 2021 23:03alex3dalex3dScore: 5,385Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:035,33238,520,77015,056,0002,007,0002,441,216
2May 19, 2021 23:035,33436,796,25915,061,0002,008,0002,449,408
3May 19, 2021 23:035,33744,125,89315,070,0002,009,0002,535,424
4May 19, 2021 23:035,34242,212,09215,084,0002,011,0002,445,312
5May 19, 2021 23:035,34339,555,25615,085,0002,011,0002,445,312
6May 19, 2021 23:035,35142,136,76315,108,0002,014,0002,449,408
7May 19, 2021 23:035,35336,951,77515,113,0002,015,0002,273,280
8May 19, 2021 23:035,35438,696,89415,117,0002,015,0002,535,424
9May 19, 2021 23:035,35634,858,10015,123,0002,016,0002,273,280
10May 19, 2021 23:035,35640,019,12115,123,0002,016,0002,453,504
11May 19, 2021 23:035,35642,581,07615,122,0002,016,0002,449,408
12May 19, 2021 23:035,35741,955,20215,125,0002,016,0002,273,280
13May 19, 2021 23:035,35738,133,15815,127,0002,016,0002,437,120
14May 19, 2021 23:035,35934,868,80215,131,0002,017,0002,273,280
15May 19, 2021 23:035,36440,461,89015,146,0002,019,0002,535,424
16May 19, 2021 23:035,36437,340,96815,145,0002,019,0002,535,424
17May 19, 2021 23:035,36744,917,48415,154,0002,020,0002,441,216
18May 19, 2021 23:035,37336,763,30015,171,0002,022,0002,441,216
19May 19, 2021 23:035,37738,516,44215,181,0002,024,0002,445,312
20May 19, 2021 23:035,38140,385,35815,193,0002,025,0002,445,312
21May 19, 2021 23:035,38138,229,77415,194,0002,025,0002,445,312
22May 19, 2021 23:035,38439,197,53615,202,0002,027,0002,535,424
23May 19, 2021 23:035,38535,774,25515,205,0002,027,0002,441,216
24May 19, 2021 23:035,38934,199,58115,217,0002,028,0002,445,312
25May 19, 2021 23:035,39234,665,39816,240,0001,015,0002,535,424
26May 19, 2021 23:035,39735,050,58316,254,0001,015,0002,535,424
27May 19, 2021 23:035,40741,268,77816,285,0001,017,0002,273,280
28May 19, 2021 23:035,53687,296,82517,714,12002,195,456
29May 19, 2021 23:035,58097,690,09017,856,71902,203,648
30May 19, 2021 23:035,58452,163,16117,869,02502,195,456
31May 19, 2021 23:035,59072,119,33417,887,80702,203,648
32May 19, 2021 23:035,59582,343,78617,902,74502,199,552
33May 19, 2021 23:035,59658,889,07217,906,18602,195,456
34May 19, 2021 23:035,60058,646,55017,918,43002,203,648
35May 19, 2021 23:035,60461,139,64417,933,12902,199,552
36May 19, 2021 23:035,60680,393,56217,940,21402,199,552
37May 19, 2021 23:035,60682,726,94617,939,58002,195,456
38May 19, 2021 23:035,61376,698,49217,961,64102,199,552
39May 19, 2021 23:035,61383,086,17617,961,43202,203,648
40May 19, 2021 23:035,61889,554,78317,977,93202,207,744
41May 19, 2021 23:035,62463,621,15817,998,38102,199,552
42May 19, 2021 23:035,62574,463,64218,000,87302,199,552
43May 19, 2021 23:035,62978,193,45018,013,86802,199,552
44May 19, 2021 23:035,63658,674,52318,035,54602,195,456
45May 19, 2021 23:035,64969,188,94718,075,28702,203,648