Блог пользователя anup.kalbalia

Автор anup.kalbalia, 13 лет назад, По-английски

The July Algorithm Challenge is taking place on http://www.codechef.com/JULY11.

Here are the details:
Date: 1st July 2011 to 11th July 2011
Duration: 10 days
Problems: 5 binary problems of varying difficulty levels + 1 challenge problem.

It promises to deliver on an interesting set of algorithmic problems with prizes up for grabs.

The contest is open for all and those, who are interested, are requested to register in order to participate.

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

13 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится
Where can I read about prizes? Thanks.
13 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится
Can anybody explain the test case of "Most Popular friend" problem?
  • 13 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится
    I can :)
    Input:
    1 // the test contains 1 group of friends
    6 // in this group there are 6 men
    3 // here is the list of 1st man's friends (there is only one)
    5 // the list of 2nd man's friends
    1 4 // the list of 3rd man's friends
    3 5 6 // and so on
    2 4 6 // ...
    4 5 // the list of 6th man's friends

    Output:
    4 1.166667 //here you should output the number of most popular man
    and then his average distance.

    What exactly is not clear?
    (I'm not sure you still need the explanation, but the contest is on, I just wanted to revive this topic.)