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 21:59Franek KortaFranek KortaScore: 4,885Success
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 21:594,83431,277,17513,408,0002,062,0002,437,120
2Sep 3, 2022 21:594,84130,054,59314,459,0001,032,0002,428,928
3Sep 3, 2022 21:594,85429,895,01815,532,00002,428,928
4Sep 3, 2022 21:594,85831,130,13415,545,00002,441,216
5Sep 3, 2022 21:594,86530,358,45014,531,0001,037,0002,433,024
6Sep 3, 2022 21:594,88341,268,82013,542,0002,083,0002,441,216
7Sep 3, 2022 21:594,88530,192,25915,632,00002,531,328
8Sep 3, 2022 21:594,89342,479,59015,659,00002,269,184
9Sep 3, 2022 21:594,90345,414,24513,727,0001,961,0002,433,024
10Sep 3, 2022 21:595,04358,501,13416,136,88602,195,456
11Sep 3, 2022 21:595,05488,198,81616,171,41402,207,744
12Sep 3, 2022 21:595,05973,681,77516,187,47902,207,744