Borderou de evaluare (job #2245215)

Utilizator razvan1403razvan razvan1403 Data 24 septembrie 2018 21:06:16
Problema Luna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:19:32: error: ‘j’ was not declared in this scope exista_tara[matrice[i][j]]=true; ^ user.cpp:25:19: error: expected primary-expression before ‘=’ token for(int i=1;i,=n;i++) ^ user.cpp:29:18: error: ‘j’ was not declared in this scope if(int k=j;k>=1 && matrice[i][j]==matrice[i][k];k--) ^ user.cpp:29:19: error: expected ‘)’ before ‘;’ token if(int k=j;k>=1 && matrice[i][j]==matrice[i][k];k--) ^ user.cpp:29:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if(int k=j;k>=1 && matrice[i][j]==matrice[i][k];k--) ^~ user.cpp:29:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if(int k=j;k>=1 && matrice[i][j]==matrice[i][k];k--) ^ user.cpp:29:16: warning: unused variable ‘k’ [-Wunused-variable] if(int k=j;k>=1 && matrice[i][j]==matrice[i][k];k--) ^ user.cpp:29:20: error: ‘k’ was not declared in this scope if(int k=j;k>=1 && matrice[i][j]==matrice[i][k];k--) ^ user.cpp:29:39: error: ‘j’ was not declared in this scope if(int k=j;k>=1 && matrice[i][j]==matrice[i][k];k--) ^ user.cpp:41:34: error: invalid types ‘bool[int]’ for array subscript if(posibil[tara][l][L] || posibil[tara][L][l]) ^ user.cpp:41:57: error: invalid types ‘bool[int]’ for array subscript if(posibil[tara][l][L] || posibil[tara][L][l]) ^

Ceva nu functioneaza?