Borderou de evaluare (job #1433014)

Utilizator Nan_Mihai_324CCNan Mihai Nan_Mihai_324CC Data 9 mai 2015 14:43:27
Problema Autobuz Status done
Runda test_practic_pa_2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘graph* readGraph()’: user.cpp:39:9: warning: unused variable ‘j’ [-Wunused-variable] int i, j, dist; ^ user.cpp:39:12: warning: unused variable ‘dist’ [-Wunused-variable] int i, j, dist; ^ user.cpp: In function ‘int main()’: user.cpp:108:7: warning: unused variable ‘drum’ [-Wunused-variable] int *drum, *drum_aux; ^ user.cpp:108:14: warning: variable ‘drum_aux’ set but not used [-Wunused-but-set-variable] int *drum, *drum_aux; ^ user.cpp:109:6: warning: variable ‘min’ set but not used [-Wunused-but-set-variable] int min, cost; ^ user.cpp: In function ‘graph* readGraph()’: user.cpp:42:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &nr_varfuri, &nr_muchii); ^ user.cpp:47:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &x, &y, &cost); ^ user.cpp: In function ‘int main()’: user.cpp:104:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuz.in", "r", stdin); ^ user.cpp:105:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuz.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms12008kbKilled by signal 11(SIGSEGV).0
220msDepăşitMemory limit exceeded.0
320msDepăşitMemory limit exceeded.0
420msDepăşitMemory limit exceeded.0
520msDepăşitMemory limit exceeded.0
680msDepăşitMemory limit exceeded.0
780msDepăşitMemory limit exceeded.0
880msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?