|
|
вернуться в форумthis is my code in java: [code deleted] Edited by moderator 04.12.2019 20:55 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? |
|
|