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 1659. Regular Triangles

Why WA1?
Posted by double 6 Nov 2008 14:39
Can somebody give some tests?
 Thank you..
Re: Why WA1?
Posted by IgorKoval(from Pskov) 23 Sep 2011 21:31
input
0 30
-25.9807621135 -15
25.9807621135 -15
output
-8.2902573694809689e-012 -4.7855053253442748e-012
8.0829037686437069 13.999999999999361
16.165807537287968 -3.1885605267234496e-013
-1.6580514738954005e-011 -29.999999999980858
-25.980762113541445 15.000000000004786
25.980762113533153 15.000000000019146




input
0 0
5 8.6602540378443864676372317075294
10 0
output
5 2.8867513459481291
3.9106836025229588 0.99999999999999989
6.0893163974770417 0.99999999999999989
10 5.7735026918962582
0 5.7735026918962582
5 -2.8867513459481291
Re: Why WA1?
Posted by Otrebus 23 May 2016 22:03
WA1 could also be too low output precision!