ENG  RUSTimus 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 1566. Triangular Postcards

Problem "Triangular postcard" has been rejudged again (+)
Posted by Vladimir Yakovlev (USU) 12 Oct 2007 02:18
Some new tests have been added. 5 authors lost AC.
Sample input #2 (as well as test #2) has been modified, now all triangles in all tests have positive area.
Re: Problem "Triangular postcard" has been rejudged again (+)
Can this problem be solved with float arithmetics? Or must I use long integer arithmetic?
Re: Problem "Triangular postcard" has been rejudged again (+)
Posted by AnUs 13 Oct 2007 22:43
Yes, this problem can be solved with float arithmetics even without epsilon-precision comparison (but it only because tests at present is enough easy)
Using 'double' type is enough (-)
Posted by Vladimir Yakovlev (USU) 15 Oct 2007 12:41