Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

codeforces 233 a solution python

n=int(input())
m=n+1
if n%2!=0 :
    print("-1")
else :
    for i in range (1,m) :
        if i%2==0 :
            print(i-1)
        else :
            print(i+1)
Source by github.com #
 
PREVIOUS NEXT
Tagged: #codeforces #solution #python
ADD COMMENT
Topic
Name
4+9 =