Borderou de evaluare (job #2382302)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:94:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("smart.in", "r", stdin);
^
main.cpp:95:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("smart.out", "w", stdout);
^
main.cpp:121:25: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
h -= flowGraph.maxFlow(0, t * nr + d);
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:25:45: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
to(_to), next(_next), cap(_cap), flo(_flo) {}
^
main.cpp:96:17: note: 's' was declared here
int n, nr = 0, s, d, k; cin >> n >> k;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 53ms | 5754kb | OK | 10 |
2 | 55ms | 4190kb | OK | 10 |
3 | 45ms | 4055kb | OK | 10 |
4 | 119ms | 5754kb | OK | 10 |
5 | 178ms | 5754kb | OK | 10 |
6 | 282ms | 7847kb | OK | 10 |
7 | 204ms | 7716kb | OK | 10 |
8 | 136ms | 4710kb | OK | 10 |
9 | 286ms | 7716kb | OK | 10 |
10 | 390ms | 7716kb | OK | 10 |
Punctaj total | 100 |