|  | 
|  | 
| back to board | TESTS Posted by DWED  8 Oct 2005 18:39Input1:10.0 10.0 1000.0 0.0 5
 
 Output1:
 972.679
 5
 0 2 1 4 3 0
 
 
 Input2:
 1  1 20.05 0.0 16
 
 Output2:
 10.967
 16
 0 2 1 4 0 3 2 1 0 3 4 1 0 3 2 1 0
 
 
 Input3:
 1  1 100.00 0.0 32
 
 Output3:
 81.397
 32
 0 2 1 4 0 3 2 1 0 3 4 1 0 3 2 1 0 3 4 1 0 3 2 1 0 3 4 1 0 3 2 1 0
 
 
 Input4:
 1  1 20.05 0.0 32
 
 Output4:
 1.863
 32
 0 2 1 4 0 3 2 1 0 3 4 1 0 3 2 1 0 3 4 1 0 3 2 1 0 3 4 1 0 3 2 1 0
 
 
 Input5:
 1  1.9 20.05 0.0 32
 
 Output5:
 0.085
 32
 0 2 1 4 3 2 1 0 3 4 1 2 0 1 2 3 4 0 3 4 1 2 0 1 2 3 4 1 0 3 2 1 0
 
 Why the output5 is incorrect?
 
 Edited by author 08.10.2005 18:40
Nice job!  But at least i'm looking for a way to write an unTLE program..A question For Dean's pyramid problem, we have:
 "If after the turn over some edge the pyramid stands on its base, the next turn can be performed either over the same edge or over the opposite edge of the pyramids base only."
 
 how about this problem? (i haven't seen any words describing such prop..
I passed case 5, and mine answer is: 0.08532
 0 2 1 4 3 2 1 0 3 4 1 2 0 3 4 1 2 0 3 4 1 2 0 3 4 1 2 3 0 1 4 3 0
 
 
 maybe ours are the same. i haven't checked.
 
 i got wa on 7  :S...i donnot why..
 
 Edited by author 21.10.2005 22:00
 | 
 | 
|