Can anyone suggest some basic DP problems (must be on Codeforces) for me to solve? I want to have a try.
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 3993 |
2 | jiangly | 3743 |
3 | orzdevinwang | 3707 |
4 | Radewoosh | 3627 |
5 | jqdai0815 | 3620 |
6 | Benq | 3564 |
7 | Kevin114514 | 3443 |
8 | ksun48 | 3434 |
9 | Rewinding | 3397 |
10 | Um_nik | 3396 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 155 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
10 | nor | 152 |
Can anyone suggest some basic DP problems (must be on Codeforces) for me to solve? I want to have a try.
Название |
---|
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.