Balajiganapathi's blog

By Balajiganapathi, history, 2 months ago, In English

CodeDrills will be hosting CodeDrills Beta Contest #2 on Sunday, 29th November, 2020 7:00 PM — 8:30 PM IST.

There will be 3 problems to be solved in 1.5 hours. The difficulty level will be similar to a Div 3 contest.

Prizes: An Amazon gift card of INR 1000 (or equivalent gift card amount for non-Indian currency) will be awarded to 2 randomly selected participants from among all participants who have a non-zero score.

  • More details, including scoring method, can be viewed here
  • You can check our past contests
  • Check our competitive programming problems and practice here
 
 
 
 
  • Vote: I like it
  • +38
  • Vote: I do not like it

»
2 months ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Why are you giving prizes to random participants, why not the best 2 competitors?

  • »
    »
    2 months ago, # ^ |
      Vote: I like it +24 Vote: I do not like it

    Since the platform is relatively new, there is a possibility of issues affecting the ranks. Hence the random prize.

    After a few more beta contest, we will consider keeping for top contestants.

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Reminder — The contest starts soon!

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

didn't get the problem 2...how can answer be -1?

  • »
    »
    7 weeks ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    Hi its possible when population at all cities are 0. We wont be able to make them unique as sum will always be 0. So in that case, we can never make them unique.

    • »
      »
      »
      7 weeks ago, # ^ |
        Vote: I like it +5 Vote: I do not like it

      damn..wasting my full time finding how can the answer be -1..btw thnx

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

The contest has ended. Editorials for all problems are available now.

  • »
    »
    7 weeks ago, # ^ |
      Vote: I like it +5 Vote: I do not like it

    In task "Country e-score", what is the answer for N = 1 and no one lives in city 1? Solutions posted in editorial print -1, but I think answer should be 0.

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

      Thanks for bringing this up.

      You are correct, for N = 1 and population 0, answer should be 0. We will fix the setter and tester solution soon to reflect this.

      We did not have this test, though we had N = 1 with non-zero population. So, fortunately no rejudge needed. We will keep in mind to add all the edge cases in future problems.

»
7 weeks ago, # |
  Vote: I like it +5 Vote: I do not like it

It would be great if we have email notifications for upcoming contests.

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

who are the random winners of the round