Skip to content

Commit 429034b

Browse files
committed
april fools
1 parent fefb038 commit 429034b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Diff for: codeforces/784/f.py

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
def main():
2+
a = list(map(int, input().split()))
3+
n = a[0]
4+
a = a[1:]
5+
b = []
6+
7+
x = 2
8+
for _ in range(int(1.25e7)):
9+
x = x + 2
10+
11+
for _ in range(n):
12+
ind = 0
13+
val = a[0]
14+
for i, x in enumerate(a):
15+
if x < val:
16+
ind = i
17+
val = x
18+
19+
b.append(val)
20+
a = a[:ind] + a[(ind + 1):]
21+
22+
print(' '.join(map(str, b)))
23+
24+
main()

0 commit comments

Comments
 (0)