Submission #1097047

# Submission time Handle Problem Language Result Execution time Memory
1097047 2024-10-05T22:26:36 Z vibeslayer Nadan (COCI18_nadan) C++14
Compilation error
0 ms 0 KB
k = int(input())
n = int(input())

for i in range(1, n):
    print(i)
    k -= i

print(k)

Compilation message

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