Borderou de evaluare (job #2431847)

Utilizator CojocariuAlexandruCojocariu Alexandru CojocariuAlexandru Data 20 iunie 2019 21:28:19
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:29:31: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] fscanf(fin, "%d%d", &n, &m); ^ main.cpp:29:31: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=] main.cpp:31:41: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] fscanf(fin, "%d%d%d", &x, &y, &z); ^ main.cpp:31:41: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=] main.cpp:31:41: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'short int*' [-Wformat=] main.cpp:2:13: warning: overflow in implicit constant conversion [-Woverflow] #define INF 999999999 ^ main.cpp:36:19: note: in expansion of macro 'INF' cmin[i] = INF; ^~~ main.cpp:37:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<vecini[1].size(); ++i){ ~^~~~~~~~~~~~~~~~~ main.cpp:51:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<vecini[aux.dest].size(); ++i){ ~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:29:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &m); ^ main.cpp:31:42: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d", &x, &y, &z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms4980kbIncorect0
215ms4980kbIncorect0
319ms4980kbIncorect0
423ms4980kbIncorect0
5105ms5500kbIncorect0
612ms4980kbIncorect0
712ms4980kbIncorect0
8157ms6672kbIncorect0
9114ms5894kbIncorect0
1010ms4980kbIncorect0
Punctaj total0

Ceva nu functioneaza?