Show all threads Hide all threads Show all messages Hide all messages |
Anyone else getting WA16? | timus__dimus | 1566. Triangular Postcards | 18 Aug 2011 04:00 | 2 |
Pls help me out. I keep getting WA16. Use eps = 1e-10 when checking that the points of one triangle are inside the other triangle. |
Can anyone offer some tricky datas? | SerailHydra | 1566. Triangular Postcards | 16 Aug 2011 15:36 | 9 |
Are you sure? Can you explain, why? Yeah exactly why NO? If you put them as two triangles with two equal sides with 1000 mm long then the answer will be YES. And the bases should be 2 and 1. ans: NO [height of postcard] sqrt(999999.75) > [height of envelope] sqrt(999999) with the bases 1 and 2. Edited by author 14.08.2011 02:04 Edited by author 14.08.2011 02:04 Edited by author 14.08.2011 02:06 3 4 5 2.7784887979 3.6878177829 4.2 ans: YES This test is incorrect, sides of triangles must be integer numbers. Edited by author 16.08.2011 14:59 Yes. But it checks the case when the edges don't have to be aligned at a common vertex instead centrally. Edited by author 16.08.2011 15:35 Can you help me with WA16? |
Mister Chery | Meni Packeou | 1566. Triangular Postcards | 15 Aug 2011 06:40 | 8 |
Edited by author 13.11.2007 12:13 Re: Mister Chery Dart MirzMan C++ Edition (Mirzoyan Alexey, Rybinsk SAAT) 9 Oct 2007 20:22 Try this: 1000 510 510 900 900 1 Ans: YES PS: Thanks for you code =) It helped me to get AC =) Re: Mister Chery Dart MirzMan C++ Edition (Mirzoyan Alexey, Rybinsk SAAT) 9 Oct 2007 20:32 First I tried to put the second triangle to the bottom side of the first triangle ((3!)^2 ways), but it gets WA16. I don't know, why. Maybe, it was the problem with precision. Next I combined my solution and your and get AC =) Алексей мой код дал 1000 510 510 900 900 1
ответ: "NO" Я решил задач из высати. Я думую ещё условия ест.Помоги если сможис. No, the answer is "YES". Сорри, но мне это по англицки просто не сформулировать. Берешь "открытку" и кладешь горизонтально стороной 900 на основание 1000 "конверта". Нарисуй на листочке, все сойдется. Edited by author 11.10.2007 13:38 Edited by author 13.11.2007 12:13 And what answer for this test? My algo YES. But I've got wa#30 :( |
WA# 6. please help! | Smusenok Sergiy Andriyovich (KhAI) | 1566. Triangular Postcards | 15 Aug 2011 04:05 | 2 |
give some tests, please! all tests from here i passed. 5 5 5 2 5.3 5.3 ans: NO Edited by author 16.08.2011 13:40 Edited by author 16.08.2011 13:42 |
Give me test 6 please!!!!! | Team_of_HosteL5 | 1566. Triangular Postcards | 23 Nov 2008 01:34 | 1 |
I am get WA on test 6, please give me test 6 please. |
6 - тест! | ApriCot | 1566. Triangular Postcards | 7 Apr 2008 19:40 | 2 |
Что там в этом 6-ом тесте?! |
WA #12. My algo seems to be true... | Yashar Abbasov | 1566. Triangular Postcards | 4 Jan 2008 04:19 | 1 |
I have wa 12. my algo is simple. i compare the heights and bases of triangles and print the answer. base is the side with max long. my prog passes all tests that are here as well. can you help me? where is my bug? |
To:Admin | ScaleRhyme | 1566. Triangular Postcards | 3 Jan 2008 00:34 | 2 |
Please add this test: 3 3 2 2 2 2 the ans is YES while my prev Accept program got No.Now I fix the bug but I'm sure that several Accepted author will lost AC |
Problem "Triangular postcard" has been rejudged again (+) | Vladimir Yakovlev (USU) | 1566. Triangular Postcards | 15 Oct 2007 12:41 | 4 |
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. Can this problem be solved with float arithmetics? Or must I use long integer arithmetic? Yes, this problem can be solved with float arithmetics even without epsilon-precision comparison (but it only because tests at present is enough easy) |
Problem "Triangular postcard" has been rejudged (+) | Vladimir Yakovlev (USU) | 1566. Triangular Postcards | 9 Oct 2007 11:18 | 5 |
New tests has been added to the problem. 5 authors have lost AC. Edited by author 06.10.2007 17:06 Why I have lost (+) ??? My status was Accepted, but now is WA??? Is the reason sqrt(-)? Why was my first message deleted? Was the reason using russian language or no? Edited by author 06.10.2007 17:48 Edited by author 06.10.2007 17:49 200 200 200 210 100 110 It is only 1 test with singular triangle? Now I receive AC with code ... if (tr.m[1]+tr.m[2] == tr.m[0]) { cout << "NO" << endl; return 0;} ... Very strange test. Edited by author 10.10.2007 11:17 |
Help! (+) | Dart MirzMan C++ Edition (Mirzoyan Alexey, Rybinsk SAAT) | 1566. Triangular Postcards | 9 Oct 2007 00:53 | 1 |
Help! (+) Dart MirzMan C++ Edition (Mirzoyan Alexey, Rybinsk SAAT) 9 Oct 2007 00:53 100 100 100 100 100 100 ? 200 100 100 100 50 50 ? |