Pagini recente » Borderou de evaluare (job #1626136) | Borderou de evaluare (job #1447726) | Borderou de evaluare (job #3139181) | Borderou de evaluare (job #321272) | Borderou de evaluare (job #2843662)
Borderou de evaluare (job #2843662)
Raport evaluator
Compilare:
main.cpp: In member function 'long long int Dinic::dfs(int, long long int)':
main.cpp:60:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for(int &i = ptr[node]; i < g[node].size(); i++) {
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'long long int Dinic::flow()':
main.cpp:83:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
83 | while(temp = dfs(s, inf))
| ~~~~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:114:44: warning: 'T' may be used uninitialized in this function [-Wmaybe-uninitialized]
114 | flux.reset(free.size() * (t + 1), S, T + t * free.size());
| ~~^~~~~~~~~~~~~~~~~
main.cpp:23:7: warning: 'S' may be used uninitialized in this function [-Wmaybe-uninitialized]
23 | s = b;
| ~~^~~
main.cpp:95:7: note: 'S' was declared here
95 | int S, T;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Incorect | 0 |
2 | 54ms | 1867kb | Incorect | 0 |
3 | 2ms | 184kb | Incorect | 0 |
4 | 78ms | 3543kb | Incorect | 0 |
5 | 452ms | 11096kb | Incorect | 0 |
6 | 280ms | 10944kb | Incorect | 0 |
7 | 850ms | 11313kb | Time limit exceeded | 0 |
8 | 39ms | 1490kb | Incorect | 0 |
9 | 658ms | 11096kb | Incorect | 0 |
10 | 567ms | 11055kb | Incorect | 0 |
Punctaj total | 0 |