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 listJan 2, 2023 17:43Jack FrigaardJack FrigaardScore: 4,844Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 17:434,80830,050,89713,336,0002,051,0002,367,488
2Jan 2, 2023 17:434,81043,739,15213,341,0002,052,0002,285,568
3Jan 2, 2023 17:434,82032,643,41315,425,00002,269,184
4Jan 2, 2023 17:434,82336,954,89414,406,0001,029,0002,285,568
5Jan 2, 2023 17:434,83932,671,25113,420,0002,064,0002,285,568
6Jan 2, 2023 17:434,84132,118,16114,459,0001,032,0002,523,136
7Jan 2, 2023 17:434,84435,761,04915,500,00002,285,568
8Jan 2, 2023 17:434,84838,714,14614,480,0001,034,0002,527,232
9Jan 2, 2023 17:434,87943,488,64714,573,0001,040,0002,527,232
10Jan 2, 2023 17:435,06152,304,33516,195,22102,297,856
11Jan 2, 2023 17:435,08163,357,90616,260,18002,301,952
12Jan 2, 2023 17:435,08190,331,69916,260,72002,293,760