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 | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 170 |
2 | Um_nik | 162 |
3 | maomao90 | 161 |
4 | atcoder_official | 160 |
5 | djm03178 | 158 |
5 | -is-this-fft- | 158 |
7 | adamant | 154 |
7 | Dominater069 | 154 |
9 | awoo | 152 |
9 | luogu_official | 152 |
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.