Pagini recente » Profil anita_alexandra | Borderou de evaluare (job #1692370) | Monitorul de evaluare | Monitorul de evaluare | Borderou de evaluare (job #2705085)
Borderou de evaluare (job #2705085)
Raport evaluator
Compilare:
main.cpp: In function 'bool dfs(int, int)':
main.cpp:159:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; pt[v] < g[v].size(); pt[v]++) {
~~~~~~^~~~~~~~~~~~~
main.cpp: In function 'void dinic()':
main.cpp:219:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
while (pushed = dfs(s, lim)) {
^
main.cpp: In function 'int main()':
main.cpp:237:36: 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:239:38: 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);
^
main.cpp:241:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
main.cpp:253:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &a, &b, &c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 262kb | OK | 10 | 10 |
| 2 | 3ms | 262kb | OK | 10 | 10 |
| 3 | 3ms | 262kb | OK | 10 | 10 |
| 4 | 3ms | 262kb | OK | 10 | 10 |
| 5 | 3ms | 262kb | OK | 10 | 10 |
| 6 | 4ms | 262kb | OK | 10 | 10 |
| 7 | 6ms | 393kb | OK | 10 | 10 |
| 8 | 27ms | 524kb | OK | 10 | 30 |
| 9 | 21ms | 524kb | OK | 10 |
| 10 | 34ms | 655kb | OK | 10 |
| Punctaj total | 100 |