Submission #1097047

#TimeUsernameProblemLanguageResultExecution timeMemory
1097047vibeslayerNadan (COCI18_nadan)C++14
Compilation error
0 ms0 KiB
k = int(input()) n = int(input()) for i in range(1, n): print(i) k -= i print(k)

Compilation message (stderr)

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