Borderou de evaluare (job #1917933)

Utilizator stefan_creastaStefan Creasta stefan_creasta Data 9 martie 2017 13:39:09
Problema Panda Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:1: error: ‘stranuct’ does not name a type stranuct ABC ^ user.cpp:13:8: error: ‘ABC’ was not declared in this scope queue <ABC> q; ^ user.cpp:13:11: error: template argument 1 is invalid queue <ABC> q; ^ user.cpp:13:11: error: template argument 2 is invalid user.cpp:13:14: error: invalid type in declaration before ‘;’ token queue <ABC> q; ^ user.cpp: In function ‘int main()’: user.cpp:41:20: error: ‘tranue’ was not declared in this scope vf[x][y] = tranue; ^ user.cpp:47:18: error: ‘tranue’ was not declared in this scope ok = tranue; ^ user.cpp:62:34: error: ‘tranue’ was not declared in this scope if(tran[i][j] == tranue) { ^ user.cpp:70:9: error: ‘ABC’ was not declared in this scope ABC poz, p; ^ user.cpp:70:13: error: expected ‘;’ before ‘poz’ ABC poz, p; ^ user.cpp:71:9: error: ‘poz’ was not declared in this scope poz.x = l; ^ user.cpp:73:11: error: request for member ‘push’ in ‘q’, which is of non-class type ‘int’ q.push(poz); ^ user.cpp:80:18: error: request for member ‘empty’ in ‘q’, which is of non-class type ‘int’ while(!q.empty()) { ^ user.cpp:81:21: error: request for member ‘front’ in ‘q’, which is of non-class type ‘int’ poz = q.front(); ^ user.cpp:82:15: error: request for member ‘pop’ in ‘q’, which is of non-class type ‘int’ q.pop(); ^ user.cpp:84:17: error: ‘p’ was not declared in this scope p.x = poz.x + dx[i]; ^ user.cpp:86:40: error: ‘tranue’ was not declared in this scope if(valid(p.x , p.y) == tranue && dist[p.x][p.y] == 0x7fffffff) { ^

Ceva nu functioneaza?