|
|
back to boardfor All of Programmers Test 3 : input : 5 2 -1 -2 -3 -4 -5 output : 2 4 Test 4 : input : 2 0 1 -5 output : 0 0 Test 5 : input : 15 23 252 33 215 789 1000 123 -125 29 -45 -450 121 -555 -72 120 123 output : 23 113 Test 6 : 0 213 output Impossible Test 7 : input : 8 12 1 2 3 4 5 6 7 8 output : Impossible Test 10 : input : 0 0 output : 0 0 Test 15 : input : 2 12 1000 -1000 output : 12 2012 Re: for All of Programmers 13 есть? Re: for All of Programmers Posted by Vitaliy 28 Jan 2014 07:03 Тест 4 точно не такой. По условию сказано, что x!=0. Я проверял, во всех тестах x!=0. Тест 10 тоже не такой. Edited by author 28.01.2014 07:04 Edited by author 28.01.2014 07:05 Re: for All of Programmers правильно подметил Vitaliy. Re: for All of Programmers Еще возможен такой вариант : input : 3 2 0 -2 4 output : Impossible Re: for All of Programmers Невозможен, "Все координаты, включая x, не равны нулю" Re: for All of Programmers You have an error in tests 4 and 10: "Each coordinate, including x, is non-zero and doesn't exceed 1000 in absolute value." Re: for All of Programmers Posted by Timur 11 Nov 2024 19:09 15 isn't it. I have WA15, but on this test my program outputs right answer |
|
|