@@ -13,3 +13,4 @@ for i in range(n):
print("no")
if flag:
print("yes")
+ .
@@ -0,0 +1,4 @@
+n = int(input())
+results = [list(map(int, input().split())) for i in range(n)]
+
+print(results)
@@ -0,0 +1,8 @@
+n, nums, count = int(input()), list(map(int, input().split())), 0
+for i, num in enumerate(nums):
+ for j, char in enumerate(nums):
+ if i < j and num > char:
+ count += 1
+print(count)
@@ -0,0 +1,11 @@
+from sort_A import simply_sort
+n, k = map(int, input().split())
+commands = list(map(int, input().split()))
+before = sum(commands)
+simply_sort(commands)
+for i in range(k):
+ commands[i] = int(str(commands[i]).replace("-", ""))
+print(sum(commands))