Borderou de evaluare (job #2200786)

Utilizator XelamophosSilviu Melinte Xelamophos Data 2 mai 2018 16:34: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 citire(int&, int (*)[176])’: user.cpp:10:3: error: ‘f’ was not declared in this scope f>>nr; ^ user.cpp: In function ‘void lee(int, int, int, int (*)[176])’: user.cpp:29:9: error: invalid types ‘int[int]’ for array subscript pi[0]=0; ^ user.cpp:33:13: error: ‘k’ was not declared in this scope for(k=0;k<4;k++) ^ user.cpp:36:23: error: ‘dy’ was not declared in this scope yu=cy[pi]+dy[k]; ^~ user.cpp:40:31: error: ‘xm’ was not declared in this scope a[xm][ym]=a[x[pi]][cy[pi]]+1; ^~ user.cpp:40:35: error: ‘ym’ was not declared in this scope a[xm][ym]=a[x[pi]][cy[pi]]+1; ^~ user.cpp:40:41: error: ‘x’ was not declared in this scope a[xm][ym]=a[x[pi]][cy[pi]]+1; ^ user.cpp:26:9: warning: unused variable ‘l’ [-Wunused-variable] int l,xu,yu,pi,ps,cx[30625],cy[30625]; ^ user.cpp: In function ‘int main()’: user.cpp:52:3: error: ‘f’ was not declared in this scope f>>n; ^ user.cpp:56:3: error: ‘g’ was not declared in this scope g<<a[xf][yf]+1; ^

Ceva nu functioneaza?