ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1942
. Attack at the Orbit
Yagudin Ruslan
WA 18
[2] // Problem
1942. Attack at the Orbit
5 Jan 2013 22:50
Why Wa18? What is test?
alp
Re: WA 18
// Problem
1942. Attack at the Orbit
14 Jan 2013 21:30
I think fraction part.
AC got
q:=q*100000;
q_int:=round(q) div 100;
BUT WA 34 got
q:=q*100000;
q_int:=trunc(q) div 100;
and
q:=q*10000;
q_int:=trunc(q) div 10;
ToadMonster
Re: WA 18
// Problem
1942. Attack at the Orbit
1 Dec 2015 21:45
Here is test:
2
0.1 0
-1.9 0
----------
2 0.100000
© 2000–2026
Timus Online Judge Team
. All rights reserved.