Pagini recente » Borderou de evaluare (job #3276744) | Borderou de evaluare (job #1141134) | Borderou de evaluare (job #666864) | Borderou de evaluare (job #1820298) | Borderou de evaluare (job #2475687)
Borderou de evaluare (job #2475687)
Raport evaluator
Compilare:
main.cpp: In function 'int dfs(int, int)':
main.cpp:67:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; ptr[v] < adj[v].size(); ++ptr[v]) {
~~~~~~~^~~~~~~~~~~~~~~
main.cpp: In function 'int dinic(int)':
main.cpp:86: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:95: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:96: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 | 8ms | 393kb | OK | 10 | 30 |
9 | 10ms | 393kb | OK | 10 |
10 | 12ms | 393kb | OK | 10 |
Punctaj total | 100 |