Borderou de evaluare (job #2860214)

Utilizator justin.stoicaJustin Stoica justin.stoica Data 2 martie 2022 12:23:53
Problema Camp Status done
Runda oni_2017_cl10_ziua2_ Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:17:16: error: 'x' was not declared in this scope 17 | cin >> x >> y >> z; | ^ main.cpp:17:21: error: 'y' was not declared in this scope 17 | cin >> x >> y >> z; | ^ main.cpp:17:26: error: 'z' was not declared in this scope 17 | cin >> x >> y >> z; | ^ main.cpp:18:28: error: 'n' was not declared in this scope 18 | for(int i = 0; i < n; i ++) | ^ main.cpp:20:20: error: 'mat' was not declared in this scope 20 | cin >> mat[i][j]; | ^~~ main.cpp:20:27: error: 'j' was not declared in this scope 20 | cin >> mat[i][j]; | ^ main.cpp:21:26: error: 'class std::vector<int>' has no member named 'pop' 21 | while(traseu.pop()) | ^~~ main.cpp:60:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 60 | for(int i = 0; i < traseu.size(); i ++) | ~~^~~~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?