|
|
вернуться в форумMy code in c++ works and I have AC, but I have WA2 with such code in Java . WHY this is my code in java: [code deleted] Edited by moderator 04.12.2019 20:55 Re: My code in c++ works and I have AC, but I have WA2 with such code in Java . WHY Послано lenant 6 июл 2009 15:43 I don't know java, but probably it would help you: i think answer in second test is 1 and test is smth like 3 1 2 3 my prog printed 0 in such a case, while right answer is 1, that's why i had wa... maybe there is same problem in your algo? |
|
|