Borderou de evaluare (job #1645332)

Utilizator IonutDerecBalauca Ionut IonutDerec Data 10 martie 2016 11:58:37
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()’: user.cpp:16:9: error: ‘i’ was not declared in this scope for(i=1;i<=m;i++) ^ user.cpp:18:14: error: ‘x’ was not declared in this scope fin>>x>>y ^ user.cpp:18:17: error: ‘y’ was not declared in this scope fin>>x>>y ^ user.cpp:19:9: error: expected ‘;’ before ‘a’ a[x][y]=-1; ^ user.cpp: In function ‘bool ok(int, int)’: user.cpp:27:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(a[i][j]=-1) ^ user.cpp: In function ‘void lee()’: user.cpp:34:15: error: ‘starty’ was not declared in this scope a[startx][starty]=1; ^ user.cpp:36:18: error: cannot convert ‘std::queue<_Tp, _Sequence>::empty<std::pair<int, int>, std::deque<std::pair<int, int>, std::allocator<std::pair<int, int> > > >’ from type ‘bool (std::queue<std::pair<int, int> >::)()const’ to type ‘bool’ while(!coada.empty) ^ user.cpp:36:18: error: in argument to unary !

Ceva nu functioneaza?