Submission #81644

# Submission time Handle Problem Language Result Execution time Memory
81644 2018-10-25T19:34:39 Z IvanC Nadan (COCI18_nadan) Python 3
50 / 50
24 ms 3544 KB
kunas = int(input())
n = int(input())
for i in range(1,n):
	print(i)
	kunas -= i

print(kunas)
# Verdict Execution time Memory Grader output
1 Correct 23 ms 3420 KB Output is correct
2 Correct 23 ms 3420 KB Output is correct
3 Correct 23 ms 3464 KB Output is correct
4 Correct 24 ms 3544 KB Output is correct
5 Correct 23 ms 3544 KB Output is correct
6 Correct 23 ms 3544 KB Output is correct
7 Correct 23 ms 3544 KB Output is correct
8 Correct 23 ms 3544 KB Output is correct
9 Correct 23 ms 3544 KB Output is correct
10 Correct 23 ms 3544 KB Output is correct