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

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

Hello Coders!

The 46th edition of 101 Hack is here. There will be 5 very interesting challenges in 2 hours. The contest commences on on 14th February 2017 at 16:00 UTC, You can sign up for the contest here.

Top 10 on leaderboard get cool HackerRank T Shirts

Problem Setters
satyaki3794, akulsareen, pranet

Problem Testers
niyaznigmatul, mfv

I would also like to thank shashank21j for all his help during the preparation of the contest and making sure that we actually make the problems instead of just talking about making them.

A lot of effort has gone into making sure the contest has something for everyone so I strongly recommend you to participate and to read all problems. I hope you will enjoy solving the problems as much as we did making them.

Editorials will be available at the end of contest.

GL&HF

UPD: Contest has finished. Top 10 are as follows:

  1. anta

  2. uwi

  3. Kaban-5

  4. I_love_Tanya_Romanova

  5. Deemo

  6. Sarkin

  7. kuzmichev_dima

  8. yenthanh.t7

  9. Tima

  10. WHITE2302

Editorials should be up shortly. Feel free to discuss the problems and give your feedback in the comments. Hope you had fun.

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

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

Smart coders, please find a girlfriend and I will be okay with just a T-shirt.

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

Reminder. Contest starts in ~ 10 minutes. GL & HF.

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

Any feedback on the problems and the contest?

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

So still I haven't ever coded a working 2d segment tree, it seems :D Was DP with 2d segment tree the expected solution? If not, please can someone explain :))

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

    That can work, but the intended solution uses divide and conquer + 1-d segment tree (point update, range query). Editorial should be available now.

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

      Seems like the constant multiplier using 2D Segment Tree is quite huge. I got TLE on some cases using 2D Segment Tree.

      Finally get AC after desperately adding a lot of prunings in my code. Unfortunately, doing that consumes a lot of my time and I don't have enough time to get enough partial marks for C and E :(

      12th, close to T-shirt boundary :"(

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

Counting Road Networks can be solve by technique describe at here.