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
1207
. Median on the Plane
Show all messages
Hide all messages
Why wa on test #7?
Maigo Akisame (maigoakisame@yahoo.com.cn)
3 Aug 2004 20:45
[code deleted]
Edited by moderator 24.11.2019 23:22
Re: Why wa on test #7?
Sridhar
27 Aug 2004 20:45
>> cross:=x1*y2-x2*y1;
x1*y2 could exceed the int range! Better do y2/x2-y1/x2 (of course type cast this to double)
© 2000–2026
Timus Online Judge Team
. All rights reserved.