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

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

I am not getting my mistake in this question. I am trying to find out the circle whose y co-ordinate is maximum and also new circle is touching this circle and then calculating y co-ordinate of new circle. Here is link to my code. http://codeforces.com/contest/908/submission/33866310

Полный текст и комментарии »

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

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

I have been trying this question and i am getting wrong answer on testcase2.I m using codechef compiler right now and it is printing the expected output.But codeforces is giving me wrong answer and I dont know why.Link to my code is below and i have tried to submit this solution in two different languages GNUC++ and GNUC++11. If I increment x by 1 it fails test case 3.Can u plz help!!! http://codeforces.com/contest/808/submission/28206449

Полный текст и комментарии »

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