Bakry's blog

By Bakry, history, 9 years ago, In English

There's Wrong Answer on test case 14 I tried to solve it But What's in Code wrong that lead to print 146 instead of 120 Code : https://ideone.com/gwUN8C Problem : http://mirror.codeforces.com/contest/186/problem/B Submission : http://mirror.codeforces.com/contest/186/submission/30480217

  • Vote: I like it
  • +1
  • Vote: I do not like it

»
9 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

The problem is that your output did not follow this criteria

In case of equal mushroom heights, the participants are sorted by their numbers (the participants with a smaller number follow earlier).