# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
147334 |
2019-08-28T20:41:44 Z |
duva02 |
Nadan (COCI18_nadan) |
Python 3 |
|
25 ms |
3432 KB |
K = int(input())
N = int(input())
b = 0
for i in range(1,N):
print(i)
b += i
print(K - b)
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
25 ms |
3428 KB |
Output is correct |
2 |
Correct |
25 ms |
3432 KB |
Output is correct |
3 |
Correct |
24 ms |
3300 KB |
Output is correct |
4 |
Correct |
24 ms |
3300 KB |
Output is correct |
5 |
Correct |
24 ms |
3388 KB |
Output is correct |
6 |
Correct |
24 ms |
3272 KB |
Output is correct |
7 |
Correct |
23 ms |
3300 KB |
Output is correct |
8 |
Correct |
24 ms |
3304 KB |
Output is correct |
9 |
Correct |
24 ms |
3300 KB |
Output is correct |
10 |
Correct |
24 ms |
3300 KB |
Output is correct |