Borderou de evaluare (job #1658541)

Utilizator sorynsooSorin Soo sorynsoo Data 21 martie 2016 17:01:14
Problema Flux maxim de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void bellman(int, int)’: user.cpp:26:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<graf[crt].size(); i++) ^ user.cpp: In function ‘bool dijkstra(int, int)’: user.cpp:55:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<graf[ crt_nod ].size(); i++) ^ user.cpp:40:21: warning: variable ‘crt_cost’ set but not used [-Wunused-but-set-variable] int i, crt_nod, crt_cost, urm_nod, urm_cost; ^ user.cpp: In function ‘int main()’: user.cpp:79:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j, x, y, z, w; ^ user.cpp:77:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fmcm.in","r",stdin); ^ user.cpp:78:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fmcm.out","w",stdout); ^ user.cpp:80:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &n, &m, &st, &fin); ^ user.cpp:83:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &x, &y, &z, &w); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms324kbOK1010
20ms340kbOK1010
30ms504kbOK1010
40ms516kbOK1010
50ms512kbOK1010
6Depăşit1236kbTime limit exceeded.00
7Depăşit1232kbTime limit exceeded.0
8Depăşit1936kbTime limit exceeded.00
9Depăşit1924kbTime limit exceeded.0
10Depăşit1936kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?