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
# | 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 | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 161 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | awoo | 154 |
8 | Dominater069 | 154 |
10 | luogu_official | 150 |
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
Name |
---|
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