# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
161849 |
2019-11-04T18:16:01 Z |
koMarac |
Nadan (COCI18_nadan) |
Python 3 |
|
27 ms |
3336 KB |
K = int(input())
N = int(input())
l = N*[K//N]
x = 0
for i in range(1,N):
l[i] += i
x += l[i]
l[0] = K-x
for i in range(N):
print(l[i])
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
26 ms |
3300 KB |
Output isn't correct |
2 |
Incorrect |
25 ms |
3300 KB |
Output isn't correct |
3 |
Incorrect |
27 ms |
3316 KB |
Output isn't correct |
4 |
Correct |
26 ms |
3292 KB |
Output is correct |
5 |
Incorrect |
26 ms |
3300 KB |
Output isn't correct |
6 |
Incorrect |
25 ms |
3300 KB |
Output isn't correct |
7 |
Incorrect |
27 ms |
3320 KB |
Output isn't correct |
8 |
Correct |
26 ms |
3300 KB |
Output is correct |
9 |
Incorrect |
26 ms |
3336 KB |
Output isn't correct |
10 |
Incorrect |
26 ms |
3300 KB |
Output isn't correct |