Borderou de evaluare (job #2841011)

Utilizator robert.barbu27robert barbu robert.barbu27 Data 29 ianuarie 2022 10:32:46
Problema Pitmutare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void solvedp(int)': main.cpp:17:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 17 | for(int i=1;i<=ev.size();i++) | ~^~~~~~~~~~~ main.cpp:49:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | for(int j=0;j<=ev.size()/2;j++) | ~^~~~~~~~~~~~~ main.cpp:56:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 56 | for(int j=0;j<=ev.size()/2;j++) | ~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:68:8: error: 'f' was not declared in this scope 68 | f>>x; | ^ main.cpp:77:8: error: 'f' was not declared in this scope 77 | f>>x; | ^ main.cpp:101:8: error: 'g' was not declared in this scope 101 | g<<solA[j]<<" "<<solB[s-j]<<'\n'; | ^ main.cpp:103:4: error: 'g' was not declared in this scope 103 | g<<ans<<'\n'; | ^ Non zero exit status: 1

Ceva nu functioneaza?