Borderou de evaluare (job #2595560)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 7 aprilie 2020 21:42:54
Problema Critice Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int bfs()': main.cpp:37:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < G[u].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp: In function 'int update_flow()': main.cpp:63:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In function 'void max_flow()': main.cpp:68:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < G[t].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp: In function 'void bfs2(int, int, int*)': main.cpp:95:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < G[u].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:109:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("critice.in" , "r" , stdin); ^ main.cpp:110:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("critice.out" , "w" , stdout); ^ main.cpp:112:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d" , &n , &m); ^ main.cpp:115:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d" , &x , &y , &z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms393kbOkay!10
23ms393kbOkay!10
33ms393kbOkay!10
43ms393kbOkay!10
54ms393kbOkay!10
614ms393kbOkay!10
732ms524kbOkay!10
828ms524kbOkay!10
947ms524kbOkay!10
1014ms524kbOkay!10
Punctaj total100

Ceva nu functioneaza?