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

Автор abhinavvv306, история, 21 месяц назад, По-английски

We invite you to participate in CodeChef’s Starters 53, this Wednesday, 24th August, rated for Divs 2, 3 & 4 Coders.

Time: 8 PM — 11:00 PM IST

The written editorials will be available in the ‘Solutions’ tab of each problem once the contest ends.

The video editorials of the problems will be available for all users for 1 day as soon as the contest ends, after which they will be available only to Pro users.

Also, if you have some original and engaging problem ideas, and you’re interested in them being used in CodeChef's contests, you can share them here.

Hope to see you participating. Good Luck!

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

»
21 месяц назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by abhinavvv306 (previous revision, new revision, compare).

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

    solution is ALL IFs

    • »
      »
      »
      21 месяц назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      I used 3 queens for positions 2,7 7,7 2,2 and 7,2 and was failing a few test cases. Still don’t see how 2 is possible

      • »
        »
        »
        »
        21 месяц назад, # ^ |
        Rev. 4   Проголосовать: нравится 0 Проголосовать: не нравится

        It's always sufficient to use at most 2 queens.

        For example:

        1

        5 3

        0 0 0 0 0 0 0 0

        0 0 0 0 0 0 0 0

        0 0 0 0 0 0 0 0

        2 0 0 0 0 0 0 0

        0 0 1 0 0 0 0 0

        0 0 0 0 2 0 0 0

        0 0 0 0 0 0 0 0

        0 0 0 0 0 0 0 0

        And:

        1

        2 2

        0 0 0 0 2 0 0 0

        0 1 0 0 0 0 0 0

        0 0 0 0 0 0 0 0

        2 0 0 0 0 0 0 0

        0 0 0 0 0 0 0 0

        0 0 0 0 0 0 0 0

        0 0 0 0 0 0 0 0

        0 0 0 0 0 0 0 0

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

deleted

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

    If you are truly trying to help, you should either email this to us, or post it after the contest is over. Right now, you are just making it easier for many others to cheat, which is moronic.

»
21 месяц назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

These questions are so classic that I'm a bit bored.

»
21 месяц назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Rocket Pack was cool beans B)

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

    Also MAKEIT1 and other problems were also cool I think, at their respective positions. Enjoyed this contest a lot beyond the 3hrs time :)