Borderou de evaluare (job #2811401)
Utilizator | Data | 2 decembrie 2021 10:48:49 | |
---|---|---|---|
Problema | Fear | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool bfs(int, int)':
main.cpp:22:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(int i=0; i<v[pz].size(); ++i)
| ~^~~~~~~~~~~~~
main.cpp: In function 'double dfs(int, int, double)':
main.cpp:35:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(int i=0; i<v[pz].size(); ++i)
| ~^~~~~~~~~~~~~
main.cpp: In function 'double maxflow(int, int)':
main.cpp:57:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
57 | while(cur=dfs(S,D,200003.0))
| ~~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:80:18: error: 'setprecision' was not declared in this scope
80 | cout<<fixed<<setprecision(4)<<exp(maxflow(1,n));
| ^~~~~~~~~~~~
main.cpp:71:11: warning: unused variable 'j' [-Wunused-variable]
71 | int i,j,m,k=0;
| ^
main.cpp:71:15: warning: unused variable 'k' [-Wunused-variable]
71 | int i,j,m,k=0;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !