Can anyone suggest some basic DP problems (must be on Codeforces) for me to solve? I want to have a try.
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 156 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
9 | nor | 153 |
Can anyone suggest some basic DP problems (must be on Codeforces) for me to solve? I want to have a try.
Name |
---|
I think, you'd better not try according to your current rating... You'd better solve some problems using basic programming skills.
agree
dont think you should judge him by his rating, it seems that he is intentionally failing contest..
disagree
https://cses.fi/problemset/list/ Dp section has some classic dp problems
I stuck at problem Coin Combinations II and Book Shop because of TLE. I think the constrain of n upto 1e6 is the reason but i can't speed up my solution fast enough to pass all tests. Could you help me?
In coin combination my solution is O(x*n) but I implemented it bottom and bookshop is classic knapsack in O(x*n) too and you don't need to save O(x*n) state but only previous state.have you implemented your solution in top down or bottom up dp ?
You can look this site: At Coder Dp Round:
K-tree
Cut Ribbon
I can find 2 problems for you but you can choose dp tag in codeforces and sort by difficulty level.
And in this link you can find many question about dp
Dp Problem Tag in a2oj
And there is a difficulty level in the near of problem.
Please stop this, please.