Search found 6 matches
- Tue Apr 20, 2004 12:07 pm
- Forum: Volume 1 (100-199)
- Topic: 190 - Circle Through Three Points
- Replies: 126
- Views: 37311
The error is present only in some of the outputs, and th difference is sometimes 0.001 and sometimes -0.001; The only "precision reducing function" I use in my program is hypot when computing r but the errors usually occur in center coordinates or in the las valur (cx^2 + cy^2 -r^2). Most often they ...
- Mon Apr 19, 2004 9:10 pm
- Forum: Volume 1 (100-199)
- Topic: 190 - Circle Through Three Points
- Replies: 126
- Views: 37311
190: getting small (0.001) differences from correct output
Hi, I have written program for 190 and got WA. I have found correct solution (author claims it was accepted by the judge) on the web and compared my output on a random input (about 10000 cases) and found many small differences (like one of the numbers on the output differed by 0.001 - in about 1% of ...
- Mon Apr 19, 2004 10:47 am
- Forum: Volume 1 (100-199)
- Topic: 122 - Trees on the level
- Replies: 103
- Views: 22039
- Mon Apr 19, 2004 10:21 am
- Forum: Volume 1 (100-199)
- Topic: 110 - Meta-Loopless Sorts
- Replies: 92
- Views: 16398
- Sun Apr 18, 2004 8:41 pm
- Forum: Volume 1 (100-199)
- Topic: 110 - Meta-Loopless Sorts
- Replies: 92
- Views: 16398
- Sun Apr 18, 2004 4:25 pm
- Forum: Volume 1 (100-199)
- Topic: 110 - Meta-Loopless Sorts
- Replies: 92
- Views: 16398
110 (meta loopless sorts): WA
Hi, I have tried to submit problem 110 but got WA
I have tested my program, compiled pascal outputs, tried whether they work on all permutations (and they do), I have exactly n! writeln statements in my outputted program and exactly n!-i if statements. Could anyone help me find what's wrong ?
My ...
I have tested my program, compiled pascal outputs, tried whether they work on all permutations (and they do), I have exactly n! writeln statements in my outputted program and exactly n!-i if statements. Could anyone help me find what's wrong ?
My ...