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 listAug 27, 2023 15:30Franek KortaFranek KortaScore: 4,878Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 17, 2024 21:304,84333,432,21512,399,0003,099,0002,531,328
2Aug 27, 2023 15:304,84529,786,66215,505,00002,428,928
3Jan 17, 2024 21:304,85335,277,26613,460,0002,070,0002,433,024
4Jan 17, 2024 21:304,85333,593,26014,494,0001,035,0002,433,024
5Aug 27, 2023 15:304,85828,966,02915,544,00002,437,120
6Jan 17, 2024 21:304,85935,022,37414,513,0001,036,0002,269,184
7Jan 17, 2024 21:304,86431,755,94715,564,00002,269,184
8Jan 17, 2024 21:304,86830,953,41412,461,0003,115,0002,531,328
9Jan 17, 2024 21:304,87333,992,46214,555,0001,039,0002,433,024
10Aug 27, 2023 15:304,87330,441,22814,556,0001,039,0002,433,024
11Aug 27, 2023 15:304,87530,599,84514,560,0001,040,0002,269,184
12Aug 27, 2023 15:304,87631,844,47915,602,00002,531,328
13Jan 17, 2024 21:304,87833,045,49514,568,0001,040,0002,428,928
14Aug 27, 2023 15:304,88230,964,62614,581,0001,041,0002,269,184
15Aug 27, 2023 15:304,88335,835,82113,542,0002,083,0002,437,120
16Aug 27, 2023 15:304,88844,717,17514,598,0001,042,0002,428,928
17Aug 27, 2023 15:304,89631,689,20415,666,00002,531,328
18Jan 17, 2024 21:304,90333,386,40715,690,00002,531,328
19Aug 27, 2023 15:305,01596,649,60416,047,04802,195,456
20Jan 17, 2024 21:305,01782,558,36516,055,49202,199,552
21Jan 17, 2024 21:305,01783,054,17016,053,56702,203,648
22Jan 17, 2024 21:305,02461,987,96416,075,49602,203,648
23Aug 27, 2023 15:305,03070,031,66116,095,86802,203,648
24Aug 27, 2023 15:305,03158,044,45216,098,26102,207,744