1
0
Fork 0
This commit is contained in:
Arthur K. 2025-05-29 19:24:43 +03:00
commit 810a9654a4
Signed by: wzray
GPG key ID: B97F30FDC4636357
50 changed files with 4450 additions and 0 deletions

7
2/D.py Normal file
View file

@ -0,0 +1,7 @@
n = int(input())
a = [*range(1, n+1)]
for i in range(2, n):
a[i], a[i//2] = a[i//2], a[i]
print(' '.join(map(str, a)))