Submission #457701

# Submission time Handle Problem Language Result Execution time Memory
457701 2021-08-07T10:00:44 Z jurgis Coins (LMIO19_monetos) C++14
Compilation error
0 ms 0 KB
for(int a=n-1; a>=n-cnt;){
                if(plac[a][a]==0){
                    plac[a][a] = 1; a++;
                }
            }

Compilation message

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;){
      |                         ^