Submission #147333

# Submission time Handle Problem Language Result Execution time Memory
147333 2019-08-28T20:40:44 Z duva02 Nadan (COCI18_nadan) C++14
Compilation error
0 ms 0 KB
K = int(input())
N = int(input())
b = 0
for i in range(1,N):
    print(i)
    b += i
print(K - b)

Compilation message

nadan.cpp:1:1: error: 'K' does not name a type
 K = int(input())
 ^