Borderou de evaluare (job #1584931)

Utilizator AndreiITCuriman Andrei AndreiIT Data 30 ianuarie 2016 16:50:00
Problema Barbar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:7:1: error: ‘queue’ does not name a type queue < pair<int, int> > q; ^ user.cpp: In function ‘void lee()’: user.cpp:14:12: error: ‘q’ was not declared in this scope while(!q.empty()) ^ user.cpp:20:45: error: expected primary-expression before ‘)’ token if(mat[ x+dx[d] ][ y+dy[d] ] == ) ^ user.cpp: In function ‘int main()’: user.cpp:31:20: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] cin>>ch[i] + 1; ^ user.cpp:48:17: error: ‘q’ was not declared in this scope q.push({i, j}); ^ user.cpp:53:10: error: ‘init’ was not declared in this scope init(); ^ user.cpp:55:5: error: ‘i’ was not declared in this scope i = 0; ^ user.cpp:56:5: error: ‘pas’ was not declared in this scope pas = 1<<10; ^ user.cpp:59:24: error: ‘se_poate’ was not declared in this scope if(se_poate(i+1)) ^

Ceva nu functioneaza?