# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1246532 | steven_30_dubs | Nadan (COCI18_nadan) | Pypy 3 | 180 ms | 48824 KiB |
K = int(input())
N = int(input())
min_sum = N * (N + 1) // 2
R = K - min_sum
result = [i for i in range(1, N)]
result.append(N + R)
for val in result:
print(val)
Compilation message (stdout)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |