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 listMar 8, 2024 03:43Huy Duc LeHuy Duc LeScore: 4,672Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 8, 2024 03:434,64532,821,58213,873,000990,0002,392,064
2Mar 8, 2024 03:434,64633,485,39412,884,0001,982,0002,265,088
3Mar 8, 2024 03:434,64844,623,99612,891,0001,983,0002,265,088
4Mar 8, 2024 03:434,65133,809,81113,890,000992,0002,269,184
5Mar 8, 2024 03:434,65736,368,80613,908,000993,0002,387,968
6Mar 8, 2024 03:434,66936,099,58113,946,000996,0002,392,064
7Mar 8, 2024 03:434,67248,560,99113,955,000996,0002,387,968
8Mar 8, 2024 03:434,69332,367,78013,015,0002,002,0002,265,088
9Mar 8, 2024 03:434,69333,330,85513,016,0002,002,0002,265,088
10Mar 8, 2024 03:434,91186,317,09015,714,50902,281,472
11Mar 8, 2024 03:434,91276,515,14315,718,39702,285,568
12Mar 8, 2024 03:434,95778,977,49615,861,50802,285,568