Problem 782
Posted: Wed Feb 09, 2022 2:27 pm
Problem 782 (View Problem)
My algorithm can solve most the examples, but I have written this twice now and both ways I get C(20) = 1144, which is 6 below the minimum of the example. Obviously I am not getting the right solution for C(10^4).
It would be appreciated if someone can check if I am on the right track with my logic by letting me know which values of c(20,k) are out, so I can check my logic.
Thanks in advance
David
My algorithm can solve most the examples, but I have written this twice now and both ways I get C(20) = 1144, which is 6 below the minimum of the example. Obviously I am not getting the right solution for C(10^4).
It would be appreciated if someone can check if I am on the right track with my logic by letting me know which values of c(20,k) are out, so I can check my logic.
Thanks in advance
David