Hello Guys
For these types of problems under which tag are they and how to practice it?
https://mirror.codeforces.com/contest/1453/problem/B
and if any one has a link for some problems to master it, I'll be grateful
thanks in advance
№ | Пользователь | Рейтинг |
---|---|---|
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 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
9 | nor | 153 |
For these types of problems under which tag are they and how to practice it?
https://mirror.codeforces.com/contest/1453/problem/B
and if any one has a link for some problems to master it, I'll be grateful
thanks in advance
Название |
---|
this my solution for this problem how to think in that? first think in pre-calculation then how to update this calculation so it take minimum time to get the answer for the every postion. in this problem we easily could solve it in o(n^2) by ignoring every num once and calculate the ans and take minimum but if you observe you only affect on 3 segment so why every time recalculate the whole array so you think to memorize answer for the unaffected part so i calculate the answer for whole array without using the special update of element then brute force on every index and take best it sort of dp.
type of problems to pratice in order to improve on this style: implementation and constructive algorithm
thanks a lot; could you tell me your practice style?
what are the problems you solve? which sheet, and if you use one, please share it with me
On this topics(implementation,constructive algorithm) I solve generally from problem set and from Dr.mostafa saad sheet this
Thanks Khalid
u r welcome