Borderou de evaluare (job #1534464)

Utilizator radu.leonardoThe Doctor radu.leonardo Data 23 noiembrie 2015 19:01:11
Problema Ferma3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void fill(int, int)’: user.cpp:18:6: error: ‘nl’ was not declared in this scope if(i>nl || i<1)return; ^ user.cpp:19:6: error: ‘nc’ was not declared in this scope if(j>nc || j<1)return; ^ user.cpp:22:8: error: expected primary-expression before ‘int’ fill(int i+1,int j); ^ user.cpp:22:16: error: expected primary-expression before ‘int’ fill(int i+1,int j); ^ user.cpp:23:8: error: expected primary-expression before ‘int’ fill(int i-1,int j); ^ user.cpp:23:16: error: expected primary-expression before ‘int’ fill(int i-1,int j); ^ user.cpp:24:8: error: expected primary-expression before ‘int’ fill(int i,int j-1); ^ user.cpp:24:14: error: expected primary-expression before ‘int’ fill(int i,int j-1); ^ user.cpp:25:8: error: expected primary-expression before ‘int’ fill(int i,int j+1); ^ user.cpp:25:14: error: expected primary-expression before ‘int’ fill(int i,int j+1); ^ user.cpp: In function ‘int main()’: user.cpp:31:21: error: expected unqualified-id before ‘,’ token int p,i,j,nl,nc,,in,sf,li,ci,lii,cii,maxi=0,maxi1=0; ^ user.cpp:31:22: warning: unused variable ‘in’ [-Wunused-variable] int p,i,j,nl,nc,,in,sf,li,ci,lii,cii,maxi=0,maxi1=0; ^ user.cpp:31:25: warning: unused variable ‘sf’ [-Wunused-variable] int p,i,j,nl,nc,,in,sf,li,ci,lii,cii,maxi=0,maxi1=0; ^ user.cpp:31:28: warning: unused variable ‘li’ [-Wunused-variable] int p,i,j,nl,nc,,in,sf,li,ci,lii,cii,maxi=0,maxi1=0; ^ user.cpp:31:31: warning: unused variable ‘ci’ [-Wunused-variable] int p,i,j,nl,nc,,in,sf,li,ci,lii,cii,maxi=0,maxi1=0; ^ user.cpp:31:34: warning: unused variable ‘lii’ [-Wunused-variable] int p,i,j,nl,nc,,in,sf,li,ci,lii,cii,maxi=0,maxi1=0; ^

Ceva nu functioneaza?