Pagini recente » Borderou de evaluare (job #3208289) | Borderou de evaluare (job #696165) | Borderou de evaluare (job #2516517) | Borderou de evaluare (job #2354147) | Borderou de evaluare (job #2471097)
Borderou de evaluare (job #2471097)
Raport evaluator
Compilare:
main.cpp: In function 'int dfs(int, int)':
main.cpp:64:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while((ptr[v]++) < adj[v].size()) {
~~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp: In function 'int dinic(int)':
main.cpp:84:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
while(pushed = dfs(source, INF)) flow += pushed;
^
main.cpp: In function 'int main()':
main.cpp:92:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("maxflow.in", "r", stdin);
^
main.cpp:93:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("maxflow.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 2ms | 131kb | OK | 10 | 10 |
4 | 3ms | 131kb | OK | 10 | 10 |
5 | 3ms | 131kb | OK | 10 | 10 |
6 | 3ms | 262kb | OK | 10 | 10 |
7 | 5ms | 262kb | OK | 10 | 10 |
8 | 14ms | 393kb | OK | 10 | 30 |
9 | 19ms | 393kb | OK | 10 |
10 | 28ms | 393kb | OK | 10 |
Punctaj total | 100 |