|
|
Show all threads Hide all threads Show all messages Hide all messages | Do not forget that (10^7)^2 > 2^31 - 1. Use long long, if you square some numbers. | KostyaRychkov | 2032. Conspiracy Theory and Rebranding | 4 Jul 2020 08:26 | 1 | I spent two hours finding this stupid mistake. Do not be like me, do everything with a margin. | Any ideas about WA6? | Combatcook | 2032. Conspiracy Theory and Rebranding | 18 Jul 2019 20:21 | 2 | My idea: 1) if triangle is right, answer is obvious) 2) if triangle is equilateral, there is no solution 3) in other cases try to split the triangle into 2 right triangles to get coordinates Correct me if I'm wrong or give test which fail that algo. 17,65,80 result: 0 0 33 -56 48 -64 Edited by author 18.07.2019 20:22 Edited by author 18.07.2019 20:25 Edited by author 18.07.2019 20:26 | I solved, but I want know how solve at 0.015 sec? | Felix_Mate | 2032. Conspiracy Theory and Rebranding | 27 Mar 2016 21:21 | 1 | My algo is O(max(a,b,c)). | No subject | Felix_Mate | 2032. Conspiracy Theory and Rebranding | 26 Nov 2015 18:55 | 1 | Edited by author 27.03.2016 21:21 | WA 5. Give me some tests, please | Eduard | 2032. Conspiracy Theory and Rebranding | 9 Mar 2015 21:24 | 1 | Give me some input values with answers, please, so I could find out, what's wrong. | Please add tests | Orfest (Novosibirsk SU) | 2032. Conspiracy Theory and Rebranding | 17 Jan 2015 03:09 | 1 | My Accepted solution #6069000 will fail if you add all permutations of test 32 as separate tests. | TO ADMINS | bsu.mmf.team | 2032. Conspiracy Theory and Rebranding | 28 Oct 2014 00:17 | 2 | There are all the numbers are greater than 1000000 in the test 6! Please remove this test or fix the description of the problem. P.S. After I discovered it I solved the problem anyway :) Thank you! Russian and English statements had different constraints. Now both have 10^7 for input lengths. |
|
|
|