Borderou de evaluare (job #2028779)

Utilizator mihnea_toaderToader Mihnea mihnea_toader Data 28 septembrie 2017 17:26:25
Problema Alee Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void bordarematr()’: user.cpp:17:9: error: ‘j’ was not declared in this scope for(j=0;j<n;j++) ^ user.cpp:19:9: error: ‘i’ was not declared in this scope for(i=0;i<n;i++) ^ user.cpp:20:33: error: expected ‘;’ before ‘}’ token {a[i][0]=-2;a[i][n+1]=-2} ^ user.cpp: In function ‘int principal(int, int, int, int)’: user.cpp:65:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?