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:09Franek KortaFranek KortaScore: 4,967Success
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:094,91934,013,43415,740,00002,433,024
2Sep 3, 2022 22:094,95337,430,02314,858,000990,0002,269,184
3Sep 3, 2022 22:094,96139,005,29815,875,00002,531,328
4Sep 3, 2022 22:094,96445,630,87714,894,000992,0002,437,120
5Sep 3, 2022 22:094,96530,344,55014,895,000993,0002,531,328
6Sep 3, 2022 22:094,96636,107,52515,891,00002,269,184
7Sep 3, 2022 22:094,96741,933,49014,901,000993,0002,531,328
8Sep 3, 2022 22:094,96846,640,62813,910,0001,987,0002,428,928
9Sep 3, 2022 22:094,96833,717,60814,906,000993,0002,433,024
10Sep 3, 2022 22:095,09075,431,58416,286,55502,191,360
11Sep 3, 2022 22:095,13684,682,23516,435,96502,187,264
12Sep 3, 2022 22:095,17886,170,14716,570,96802,195,456