Submission #457701

#TimeUsernameProblemLanguageResultExecution timeMemory
457701jurgisCoins (LMIO19_monetos)C++14
Compilation error
0 ms0 KiB
for(int a=n-1; a>=n-cnt;){ if(plac[a][a]==0){ plac[a][a] = 1; a++; } }

Compilation message (stderr)

monetos.cpp:1:1: error: expected unqualified-id before 'for'
    1 | for(int a=n-1; a>=n-cnt;){
      | ^~~
monetos.cpp:1:16: error: 'a' does not name a type
    1 | for(int a=n-1; a>=n-cnt;){
      |                ^
monetos.cpp:1:25: error: expected unqualified-id before ')' token
    1 | for(int a=n-1; a>=n-cnt;){
      |                         ^