|
|
back to boardTo admins: weak tests Posted by Sirko 18 Dec 2015 16:40 Edit my first comment, see the next one for complete explanation. I can share my code via email if you don't have an access to it. Edited by author 21.12.2015 22:46 Re: To admins: weak tests Posted by Sirko 21 Dec 2015 22:45 My AC solution fails on following test 3 100 71 70 99 1 -71 70 It returns YES +-+ which means (71; 70) - (99; 1) + (-71; 70) = (-99; 139), |(-99; 139)|~170.65 > 141.4. But it is really strange that my AC solution contains awful mistake in sorting. In fact, sort doesn't work at all in my AC solution and output depends on vectors order! I wonder how could this code pass all tests. And I wonder how the code with fixed sorting (but still incorrect) fails on 53-th test only. Please add mentioned test. Edited by author 21.12.2015 22:48 Re: To admins: weak tests Your test was added |
|
|