|  | 
|  | 
| вернуться в форум | To admins: My AC solution fails on some tests Послано hedrok  28 июл 2008 23:00To admins:i think this test should be added (or any other where r3 = 0):
 11 11 0
 1
 right answer: 20.000
 
 i've found out that i am dividing by r3, but don't check whether r3 is zero.
 
 
 Not to admins:
 
 While solving i was short of normal tests (not special cases), so here are some:
 234 34 240
 1
 answer: 504.433
 25 35 30
 2
 answer: 83.245
 
 i used two nested modified a little binary searches.
 
 Edited by author 28.07.2008 23:01
 | 
 | 
|