ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1521
. War Games 2
🐒🍌[PermSU]
Is it correct?
[1] // Problem
1521. War Games 2
8 Dec 2020 23:14
Test case: 5 5
Ans: 5 1 3 4 2
Test case: 10 2
Ans: 2 4 6 8 1 5 9 7 3
Is it correct ans?
Eugene Krokhalev
Re: Is it correct?
// Problem
1521. War Games 2
29 Dec 2021 01:04
Of course 2nd one is wrong, it skips 10.
I think, the correct answer for your second test is:
2 4 6 8 10 3 7 1 9 5
© 2000–2026
Timus Online Judge Team
. All rights reserved.