Borderou de evaluare (job #1433117)

Utilizator Nan_Mihai_324CCNan Mihai Nan_Mihai_324CC Data 9 mai 2015 14:57:53
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:31:9: warning: unused variable ‘j’ [-Wunused-variable] int i, j, dist; ^ user.cpp:31:12: warning: unused variable ‘dist’ [-Wunused-variable] int i, j, dist; ^ user.cpp: In function ‘int main()’: user.cpp:85:7: warning: unused variable ‘drum’ [-Wunused-variable] int *drum, *drum_aux; ^ user.cpp:85:14: warning: variable ‘drum_aux’ set but not used [-Wunused-but-set-variable] int *drum, *drum_aux; ^ user.cpp:86:6: warning: variable ‘min’ set but not used [-Wunused-but-set-variable] int min, cost; ^ user.cpp: In function ‘graph* readGraph()’: user.cpp:34: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:39: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:81: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:82: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
14ms4156kbKilled 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
684msDepăşitMemory limit exceeded.0
776msDepăşitMemory limit exceeded.0
880msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?