Блог пользователя islam7

Автор islam7, история, 7 лет назад, По-английски

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

  • Проголосовать: нравится
  • -20
  • Проголосовать: не нравится

»
7 лет назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

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

  • »
    »
    7 лет назад, # ^ |
      Проголосовать: нравится -6 Проголосовать: не нравится

    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

    • »
      »
      »
      7 лет назад, # ^ |
        Проголосовать: нравится +10 Проголосовать: не нравится

      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.

      • »
        »
        »
        »
        7 лет назад, # ^ |
          Проголосовать: нравится +8 Проголосовать: не нравится

        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.