Borderou de evaluare (job #2705085)

Utilizator cyg_SerbanBFlorin Gheorghe cyg_SerbanB Data 11 februarie 2021 21:09:29
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

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
12ms262kbOK1010
23ms262kbOK1010
33ms262kbOK1010
43ms262kbOK1010
53ms262kbOK1010
64ms262kbOK1010
76ms393kbOK1010
827ms524kbOK1030
921ms524kbOK10
1034ms655kbOK10
Punctaj total100

Ceva nu functioneaza?