Borderou de evaluare (job #2595552)

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

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:91: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:107:29: warning: unused variable 'nr' [-Wunused-variable] int m , x , y , z , i , nr; ^~ main.cpp:105: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:106: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:108: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:111: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
13ms393kbToo bad!0
23ms393kbToo bad!0
33ms393kbOkay!10
43ms393kbToo bad!0
54ms393kbToo bad!0
615ms524kbToo bad!0
733ms524kbToo bad!0
829ms524kbToo bad!0
948ms524kbToo bad!0
1014ms524kbOkay!10
Punctaj total20

Ceva nu functioneaza?