|
|
back to boardCan someone give me test number 5 and if possible write the solution? Thank you. EDIT: It also will be helpful if someone give me some tests with solutions and maybe some "tricky" test. EDIT2: Got AC. Edited by author 13.05.2008 03:18 Edited by author 15.05.2008 16:13 isti problem I don't know what is "bug" in your algorithm, but in my was that I made mistake while I was subtracting angles. I still do not know what is test case # 5. Do you find out what the problem was In the test #5 x1=x2. I had WA on this test because of wrong processing of this case. Edited by author 14.11.2008 22:29 Test 5 x1==x2 && y1>0 && y2>0 Solution: ternary search in extending interval :) Edited by author 21.03.2010 13:27 |
|
|