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 3, 2022 22:04Franek KortaFranek KortaScore: 4,838Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2022 22:044,82033,182,66015,423,00002,437,120
2Sep 3, 2022 22:044,82138,829,38214,398,0001,028,0002,441,216
3Sep 3, 2022 22:044,82231,561,29115,429,00002,428,928
4Sep 3, 2022 22:044,82228,646,32014,401,0001,028,0002,424,832
5Sep 3, 2022 22:044,82735,305,56315,447,00002,433,024
6Sep 3, 2022 22:044,83428,556,83115,469,00002,531,328
7Sep 3, 2022 22:044,83834,995,04015,483,00002,433,024
8Sep 3, 2022 22:044,84334,126,69715,497,00002,428,928
9Sep 3, 2022 22:044,84541,072,82815,503,00002,531,328
10Sep 3, 2022 22:045,01591,660,16416,048,90802,199,552
11Sep 3, 2022 22:045,02189,707,47816,066,26302,199,552
12Sep 3, 2022 22:045,02876,637,54716,088,13402,195,456