islam7's blog

By islam7, history, 8 years ago, In English

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 ?!

  • Vote: I like it
  • -20
  • Vote: I do not like it

| Write comment?
»
8 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

what's the point from giving me a low contribution .. I 'm just asking a simple question ?

  • »
    »
    8 years ago, # ^ |
      Vote: I like it -6 Vote: I do not like it

    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

    • »
      »
      »
      8 years ago, # ^ |
        Vote: I like it +10 Vote: I do not like it

      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.

      • »
        »
        »
        »
        8 years ago, # ^ |
          Vote: I like it +8 Vote: I do not like it

        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.