|
|
back to boardThat is not a DP problem as it might seem Probably dp is possible Looks like to dp here one should invent something non-trivial because of relatively large n. Edited by author 04.08.2017 10:43 Re: That is not a DP problem as it might seem That is a problem about greedy choice. Edited by author 04.08.2017 10:38 Re: That is not a DP problem as it might seem I was keep getting timeout from WA44.. dang~ |
|
|