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

Автор shashank21j, 10 лет назад, По-английски

Hi!

Ad Infinitum is back with Infinitum July'14, a monthly contest restricted to mathematics domain, held on HackerRank.

Register at https://www.hackerrank.com/infinitum-jul14
The contest commences on 11th July 15:30 UTC. You are allowed to enter the contest anytime, for tie breaking the timer will start when you view the challenge, which allows you to start late at your convenience, but once started try to finish as fast as possible to be on top of the leaderboard :)

It's a 2 day contest with 8 problems (3 Easy, 3 Medium, 2 Hard)
Scoring Distribution: 20 20 20 40 60 80 100 120

problem statements in English, Russian and Chinese

Top 10 on leaderboard gets Cool HackerRank T shirt

Contributers
kevinsogo
tmt514
Bidhan
darkshadows
amitp08
caopeng
aka_007

Detailed editorials will be available by the end of contest :) I suggest you to try all challenges and at the end of contest understand the solutions.

GL&HF

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

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

Problems are too easy for a 2 day contest :(

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

    winger, Congrats!

    Contest is built by the community, if you feel problems were not challenging enough please come forward and contribute.

    But just to clear so far you are the only person to finish all problems. Also, contest is more about learning and solving, so the duration is deliberate for the beginners and learners.

    I am sorry if the contest disappointed you.

»
10 лет назад, # |
Rev. 4   Проголосовать: нравится +13 Проголосовать: не нравится

How to solve the last problem?

I have the formula:

But how to calculate this expression quickly? I managed to get only 55 points with O(NlogK) for a query.

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

rating?

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

    In 24 minutes from now :)

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

      Other profile was updated by the system but my wasn't https://www.hackerrank.com/dariodsa.

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

        keep calm it's still running

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

          You have some fixed time for rating updates, like "in X hours after contest ending"? What are these X hours for? Appeals and stuff like that? I like it, when you say "it will be in 24 minutes from now" and it really updates in 24 minutes, not like on CF/TC where it looks like "it will be updated soon. maybe in few minutes. maybe in few hours. as fast as we can. just keep calm and wait".

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

            Yes we run a cron job for such stuff. And that cron was scheduled at 12:30 Am as per my IST time so I said exactly 24 minutes as that's when the job would start.

            By the way so far Contest rating were updated after approx 24 hours but from next contest onwards it'll be in 2 hours.

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

        Updated :) congrats