ENG  RUSTimus 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 1731. Dill

to authors
Posted by arrammis 26 Apr 2015 01:22
Why this answer for test 1 gets WA

2 3
1 2
3 4 5

?????????

algorithm is just
print on
1 ... n
then n+1 ... n+m

what's wroung with this???????????????
Re: to authors
Posted by Filip Franik 11 Apr 2016 14:47
The algorithm is not
1 ... n
n+1 ... n+m

In your answer
1 + 4 = 2 + 3

This violates the condition "Ivan Vasil'evich considered all the possible variants and saw that this was impossible"