|
|
Show all threads Hide all threads Show all messages Hide all messages | This problem is so ez, why it has difficulty 2k | Zergatul | 1953. Biggest Inscribed Ellipse | 3 Feb 2021 19:01 | 1 | Few lines of code with no conditions | 2 ADMINS: timus C# megacompiler, weak tests or bug in checker??? | Vedernikoff 'Goryinyich' Sergey (HSE: АОП) | 1953. Biggest Inscribed Ellipse | 4 Sep 2013 19:47 | 2 | On my VS 2012 C# compiler on test 1000 1000 1000 my program's output is 0.0000143861 288.6751345948 which doesn't seem to fit into precision (from the solution correctness criteria). But AC on timus under VS 2010 C# compiler. Just interesting: there is no such test, timus VS 2010 is better than my VS 2012, or checker checks not equality of both numbers in output and answer, but some more weird thing? There was incorrect checker, it checked with precision 10^-4. It fixed now, all solutions were rejudged, 7 authors lost their AC. | Strange compilers' effects | Yermak | 1953. Biggest Inscribed Ellipse | 16 Jun 2013 21:59 | 2 | Guys, please comment this: Visual C++ 2010: WA 29 G++ 4.7.2: WA 47 G++ 4.7.2 C++11: WA 1 I used double type, sqrt function and arithmetic operations. WA 29/47: different precision, you can divide by small number and inaccuracy will greatly increase, if you are lucky - you don't get WA C++11: don't use %lf, use %f instead, but you also will get WA1, because of sqrt(-EPS) - its nan Edited by author 17.06.2013 00:16 | No subject | Hedayet | 1953. Biggest Inscribed Ellipse | 15 Jun 2013 17:36 | 1 | How come I get WA on case 1? Is not it the case in question? |
|
|
|