Borderou de evaluare (job #2124978)

Utilizator cristii2000cristiiPanaite Cristian cristii2000cristii Data 7 februarie 2018 19:35:15
Problema Cartite Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void parcurgere()’: user.cpp:81:31: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(v[i].F.x == startX && v[i].F.y == startY || v[i].S.x == startX && v[i].S.y == startY) ^ user.cpp:101:24: error: ‘struct edge’ has no member named ‘x’ if(v[next].x == nod) ^ user.cpp:102:36: error: ‘struct edge’ has no member named ‘y’ stiva.push(v[next].y); ^ user.cpp:104:36: error: ‘struct edge’ has no member named ‘x’ stiva.push(v[next].x); ^ user.cpp: In function ‘void citire()’: user.cpp:146:10: error: no match for ‘operator[]’ (operand types are ‘std::vector<int> [205]’ and ‘coord’) g[v[i].F].push_back(i); ^ user.cpp:147:10: error: no match for ‘operator[]’ (operand types are ‘std::vector<int> [205]’ and ‘coord’) g[v[i].S].push_back(i); ^

Ceva nu functioneaza?