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:29alex3dalex3dScore: 5,191Success
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:295,15432,201,11215,464,0001,030,0002,535,424
2May 19, 2021 23:295,15532,240,01315,465,0001,031,0002,273,280
3May 19, 2021 23:305,15632,554,34215,467,0001,031,0002,445,312
4May 19, 2021 23:305,15835,274,81015,476,0001,031,0002,535,424
5May 19, 2021 23:305,15941,413,37615,479,0001,031,0002,273,280
6May 19, 2021 23:295,16134,615,81515,482,0001,032,0002,441,216
7May 19, 2021 23:305,16431,381,90315,493,0001,032,0002,445,312
8May 19, 2021 23:305,16438,990,77515,493,0001,032,0002,445,312
9May 19, 2021 23:295,16739,011,44315,501,0001,033,0002,273,280
10May 19, 2021 23:305,16832,485,24615,506,0001,033,0002,445,312
11May 19, 2021 23:295,17230,958,09915,515,0001,034,0002,445,312
12May 19, 2021 23:295,17435,976,85615,522,0001,034,0002,445,312
13May 19, 2021 23:305,17733,914,54215,531,0001,035,0002,273,280
14May 19, 2021 23:305,17834,274,56315,533,0001,035,0002,449,408
15May 19, 2021 23:295,18938,873,24615,569,0001,037,0002,445,312
16May 19, 2021 23:305,19131,859,79315,573,0001,038,0002,441,216
17May 19, 2021 23:295,19335,533,46515,579,0001,038,0002,535,424
18May 19, 2021 23:295,19946,138,56615,599,0001,039,0002,445,312
19May 19, 2021 23:305,38379,351,40717,226,16102,199,552
20May 19, 2021 23:295,40584,859,80917,295,22102,195,456
21May 19, 2021 23:295,40974,846,23817,308,39802,195,456
22May 19, 2021 23:305,414110,897,08317,325,79402,199,552
23May 19, 2021 23:305,41481,255,27217,326,19702,183,168
24May 19, 2021 23:305,43381,980,23117,386,21702,203,648
25May 19, 2021 23:305,45259,836,46317,445,58802,203,648
26May 19, 2021 23:295,45477,202,04917,453,96302,207,744
27May 19, 2021 23:295,45586,930,21917,457,27902,199,552
28May 19, 2021 23:305,45687,098,72517,460,39202,199,552
29May 19, 2021 23:295,50198,690,55117,602,79202,195,456
30May 19, 2021 23:295,659100,105,65318,107,74202,203,648