Pagini recente » Borderou de evaluare (job #1955134) | Borderou de evaluare (job #1591823) | Borderou de evaluare (job #2577497) | Borderou de evaluare (job #960794) | Borderou de evaluare (job #2815367)
Borderou de evaluare (job #2815367)
Raport evaluator
Compilare:
main.cpp: In member function 'bool Graf::HavelHakimi(std::vector<int>)':
main.cpp:280:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
280 | if(prim > grade.size()) return false;
| ~~~~~^~~~~~~~~~~~~~
main.cpp: In member function 'int Graf::maxflow(int, int, std::vector<std::vector<int> >)':
main.cpp:527:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
527 | while(new_flow = bfsMaxflow(s, d, parent, capacitate)){
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void rezolvareDarb()':
main.cpp:870:22: warning: 'n' is used uninitialized in this function [-Wuninitialized]
870 | for(int i = 1; i < n; i++){
| ~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Incorect | 0 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 2ms | 184kb | Incorect | 0 |
4 | 2ms | 184kb | Incorect | 0 |
5 | 2ms | 184kb | Incorect | 0 |
6 | 2ms | 184kb | Incorect | 0 |
7 | 2ms | 184kb | Incorect | 0 |
8 | 2ms | 184kb | Incorect | 0 |
9 | 2ms | 184kb | Incorect | 0 |
10 | 2ms | 184kb | Incorect | 0 |
Punctaj total | 0 |