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 listSep 7, 2022 04:42Yuriy LyfenkoYuriy LyfenkoScore: 4,669Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 04:424,627544,841,71612,831,0001,974,0002,527,232
2Sep 7, 2022 04:424,628539,593,69212,836,0001,974,0002,281,472
3Sep 7, 2022 04:424,639537,192,11412,865,0001,979,0002,281,472
4Sep 7, 2022 04:424,643537,549,20512,877,0001,981,0002,281,472
5Sep 7, 2022 04:424,651537,599,14212,900,0001,984,0002,281,472
6Sep 7, 2022 04:424,651539,910,50712,900,0001,984,0002,281,472
7Sep 7, 2022 04:424,669540,952,22713,946,000996,0002,281,472
8Sep 7, 2022 04:424,678545,196,17712,973,0001,995,0002,281,472
9Sep 7, 2022 04:424,724547,612,70113,102,0002,015,0002,281,472
10Sep 7, 2022 04:424,816587,680,27315,412,41902,174,976
11Sep 7, 2022 04:424,818580,025,50515,418,58102,256,896
12Sep 7, 2022 04:424,827589,936,00415,447,61302,179,072