thedsk's blog

By thedsk, history, 6 years ago, In English

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

Full text and comments »

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

By thedsk, history, 7 years ago, In English

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

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it