Pagini recente » Borderou de evaluare (job #3038321) | Borderou de evaluare (job #1809700) | Borderou de evaluare (job #1321496) | Borderou de evaluare (job #2382846) | Borderou de evaluare (job #3169638)
Borderou de evaluare (job #3169638)
Raport evaluator
Compilare:
main.cpp: In function 'int sendflow(int, int)':
main.cpp:47:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(; start[nod] < g[nod].size(); start[nod]++) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:53:25: warning: left operand of comma operator has no effect [-Wunused-value]
53 | int nxt_flow = (nxt, flow_now);
| ^~~
main.cpp: In function 'int dinic()':
main.cpp:72:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
72 | while(rez = sendflow(1, INT_MAX))
| ~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:85:40: warning: narrowing conversion of 'g[y].std::vector<muchie>::size()' from 'std::vector<muchie>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
85 | muchie m1 = {y, 0, c, g[y].size()};
| ~~~~~~~~~^~
main.cpp:86:40: warning: narrowing conversion of 'g[x].std::vector<muchie>::size()' from 'std::vector<muchie>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
86 | muchie m2 = {x, 0, 0, g[x].size()};
| ~~~~~~~~~^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | Incorect | 0 | 0 |
2 | 0ms | 303kb | Incorect | 0 | 0 |
3 | 0ms | 303kb | Incorect | 0 | 0 |
4 | 0ms | 303kb | Incorect | 0 | 0 |
5 | 0ms | 303kb | Incorect | 0 | 0 |
6 | 0ms | 303kb | Incorect | 0 | 0 |
7 | 0ms | 557kb | Incorect | 0 | 0 |
8 | 1ms | 557kb | Incorect | 0 | 0 |
9 | 1ms | 557kb | Incorect | 0 |
10 | 1ms | 561kb | Incorect | 0 |
Punctaj total | 0 |