| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
Wrong Sample Output1) no extra " nm" behind "distance = x.xx"
2) Tack 5: speed = 7.5, direction = 153.4, distance: 11.18 nm
??
Tack 5: speed = 7.5, direction = 153.4, distance = 11.18 nm
The correct sample output is:
Race 1 has 5 legs
The race layout is 58.48 nm long
Leg 1 from mark M1 to M2: direction = 45.0, distance = 14.14
Tack 1: speed = 5.0, direction = 90.0, distance = 10.00
Tack 2: speed = 5.0, direction = 0.0, distance = 10.00
Leg 2 from mark M2 to M3: direction = 343.3, distance = 10.44
Tack 3: speed = 5.0, direction = 343.3, distance = 10.44
Leg 3 from mark M3 to M4: direction = 253.6, distance = 17.72
Tack 4: speed = 6.7, direction = 253.6, distance = 17.72
Leg 4 from mark M4 to M5: direction = 153.4, distance = 11.18
Tack 5: speed = 7.5, direction = 153.4, distance = 11.18
Leg 5 from mark M5 to M6: direction = 180.0, distance = 5.00
Tack 6: speed = 6.7, direction = 180.0, distance = 5.00
Race 1 was 64.34 nm long with 6 tacks
Estimated race duration is 11.67 hours with 0.50 hours of tack penalty
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator