kingGarfield's blog

By kingGarfield, history, 7 years ago, In English

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

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

| Write comment?
»
7 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