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 2, 2022 20:20Franek KortaFranek KortaScore: 4,779Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 2, 2022 20:204,76436,527,28114,228,0001,016,0002,531,328
2Sep 2, 2022 20:204,76436,704,33013,214,0002,032,0002,437,120
3Sep 2, 2022 20:204,76636,109,57214,234,0001,016,0002,433,024
4Sep 2, 2022 20:204,76942,485,12713,226,0002,034,0002,527,232
5Sep 2, 2022 20:204,77732,997,78512,230,0003,057,0002,433,024
6Sep 2, 2022 20:204,77838,978,88114,269,0001,019,0002,531,328
7Sep 2, 2022 20:204,77930,837,40813,254,0002,039,0002,531,328
8Sep 2, 2022 20:204,78830,876,16812,259,0003,064,0002,437,120
9Sep 2, 2022 20:204,79133,118,52213,288,0002,044,0002,531,328
10Sep 2, 2022 20:204,99278,411,07715,973,62602,195,456
11Sep 2, 2022 20:205,00984,082,39816,030,39802,199,552
12Sep 2, 2022 20:205,01756,637,76416,052,94502,199,552