|
|
I use about 3*n operations but TL81 or TL84!!! I got TL because I used map(int, input().split()) Edited by author 22.08.2018 00:07 But you used Python. Get used to it. 5 0 0 2 2 3 1 4 0 6 2 Answer: 5 I have got AC, but I have found test for which my AC program gives wrong answer. I sent it to timus_support@acm.timus.ru. Please don't make so stupid mistakes that I did. Lost about 3 hours on the contest, gratz to me. Anti-WA #51: 4 0 0 2 0 1 1 1 2 Answer: oo Anti-WA #52: 4 0 0 1 2 2 2 3 0 Answer: oo |
|
|