Borderou de evaluare (job #3233654)
Utilizator | Data | 4 iunie 2024 11:53:31 | |
---|---|---|---|
Problema | Drumuri2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'void FordFulkerson::init()':
main.cpp:38:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<std::pair<int, long long int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for (int i = 0; i < g.size(); ++i)
| ~~^~~~~~~~~~
main.cpp:40:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for (int j = 0; j < g[i].size(); ++j)
| ~~^~~~~~~~~~~~~
main.cpp: In member function 'bool FordFulkerson::findAndUpdate(int, int, long long int&)':
main.cpp:62:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for (int i = 0; i < eIndexes[u].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:71:55: warning: statement has no effect [-Wunused-value]
71 | found == true;
| ~~~~~~^~~~~~~
main.cpp: In function 'int main(int, const char**)':
main.cpp:154:9: error: 'fin' was not declared in this scope; did you mean 'cin'?
154 | fin.open("drumuri2.in");
| ^~~
| cin
main.cpp:156:9: error: 'fout' was not declared in this scope; did you mean 'cout'?
156 | fout.open("drumuri2.out");
| ^~~~
| cout
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !