Borderou de evaluare (job #1396942)

Utilizator T.C.11Tolan Cristian T.C.11 Data 23 martie 2015 10:06:21
Problema Lacuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:32:10: error: ‘n’ was not declared in this scope fin>>n; ^ user.cpp:40:5: error: ‘ok’ was not declared in this scope ok=1; ^ user.cpp:54:17: error: ‘sol’ was not declared in this scope sol++; ^ user.cpp:59:11: error: ‘sol’ was not declared in this scope fout<<sol<<"\n"; ^ user.cpp:62:9: error: ‘aux’ was not declared in this scope aux.x=1; ^ user.cpp:64:9: error: ‘cd’ was not declared in this scope cd.push(aux); ^ user.cpp:76:21: error: ‘k’ was not declared in this scope k.x=ln; ^ user.cpp:82:9: error: ‘x’ was not declared in this scope x=n; ^ user.cpp:83:9: error: ‘y’ was not declared in this scope y=n; ^ user.cpp:94:21: error: ‘v’ was not declared in this scope v.push_back(aux); ^ user.cpp:101:21: error: ‘coce’ was not declared in this scope for (vector<coce>::iterator it = v.begin(); it != v.end(); it++) ^ user.cpp:101:25: error: template argument 1 is invalid for (vector<coce>::iterator it = v.begin(); it != v.end(); it++) ^ user.cpp:101:25: error: template argument 2 is invalid user.cpp:101:37: error: invalid type in declaration before ‘it’ for (vector<coce>::iterator it = v.begin(); it != v.end(); it++) ^ user.cpp:101:37: error: expected ‘;’ before ‘it’ user.cpp:101:37: error: ‘it’ was not declared in this scope user.cpp:101:42: error: ‘v’ was not declared in this scope for (vector<coce>::iterator it = v.begin(); it != v.end(); it++) ^ user.cpp:101:66: error: expected ‘)’ before ‘;’ token for (vector<coce>::iterator it = v.begin(); it != v.end(); it++) ^ user.cpp:101:28: warning: unused variable ‘iterator’ [-Wunused-variable]

Ceva nu functioneaza?