Pagini recente » Borderou de evaluare (job #2507600) | Borderou de evaluare (job #2314556) | Borderou de evaluare (job #2202620) | Borderou de evaluare (job #2175636) | Borderou de evaluare (job #2843680)
Borderou de evaluare (job #2843680)
Raport evaluator
Compilare:
main.cpp: In member function 'long long int Dinic::dfs(int, long long int)':
main.cpp:61:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | for(int &i = ptr[node]; i < g[node].size(); i++) {
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'long long int Dinic::flow()':
main.cpp:85:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
85 | while(temp = dfs(s, inf))
| ~~~~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:115:44: warning: 'T' may be used uninitialized in this function [-Wmaybe-uninitialized]
115 | flux.reset(free.size() * (t + 1), S, T + t * free.size());
| ~~^~~~~~~~~~~~~~~~~
main.cpp:25:7: warning: 'S' may be used uninitialized in this function [-Wmaybe-uninitialized]
25 | s = b;
| ~~^~~
main.cpp:97:7: note: 'S' was declared here
97 | int S, T;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 30ms | 2056kb | Incorect | 0 |
2 | 6ms | 647kb | Incorect | 0 |
3 | 11ms | 1044kb | Incorect | 0 |
4 | 15ms | 1507kb | Incorect | 0 |
5 | 20ms | 1515kb | Incorect | 0 |
6 | 35ms | 2719kb | Incorect | 0 |
7 | 30ms | 2514kb | Incorect | 0 |
8 | 11ms | 819kb | Incorect | 0 |
9 | 58ms | 2707kb | Incorect | 0 |
10 | 101ms | 5734kb | Incorect | 0 |
Punctaj total | 0 |