답안 #161849

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
161849 2019-11-04T18:16:01 Z koMarac Nadan (COCI18_nadan) Python 3
10 / 50
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])
# 결과 실행 시간 메모리 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