https://www.hackerrank.com/challenges/kingdom-division
Can any One Write a simple recursive dp for this , I know it's pobular but I just need to see the steps ?!
№ | Пользователь | Рейтинг |
---|---|---|
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 |
https://www.hackerrank.com/challenges/kingdom-division
Can any One Write a simple recursive dp for this , I know it's pobular but I just need to see the steps ?!
Название |
---|
what's the point from giving me a low contribution .. I 'm just asking a simple question ?
Because there is an editorial, and you can see other people's solutions.
If there is something you don't understand in some solution please specify.
But you might still get downvotes because that's how Codeforces works :P
I think people usually downvote questions like that because it leaves an impression that the author isn't really trying. When someone asks a question about an easy problem, especially if there is an editorial, it comes off as random noise.
And too often you see people making nearly no effort to actually be helped. You sometimes see people just copying their code and asking "why does this give WA/TLE", possibly with bad grammar and no explanation on how they think the solution works. Other times its people asking questions that have been covered a million times before and are easily searchable on the Internet. And even if your post wasn't actually that bad, if there is enough random garbage, people might automatically downvote it.
And in the end of the day, a lot of people read the blogs to learn or discuss something. Simple questions aren't really that interesting and some people will downvote them.
all I need is to know more ways of solutions, and if it's just a simple easy question for some ,they just can leave it as simple as that.
You can read other people's codes in hackerrank.