Please read the new rule regarding the restriction on the use of AI tools. ×

kingGarfield's blog

By kingGarfield, history, 6 years ago, In English

hi can any one give me a solution or a link to solution for this problem. http://codeforces.me/problemset/problem/958/C2 thank you

  • Vote: I like it
  • +4
  • Vote: I do not like it

| Write comment?
»
6 years ago, # |
Rev. 4   Vote: I like it +5 Vote: I do not like it

dp[i][j][k]:The first i numbers and sum%p is j, selecting the maximum value of the k Group