Borderou de evaluare (job #1433780)

Utilizator Ursache_Andrei_322CAUrsache Andrei Ursache_Andrei_322CA Data 9 mai 2015 19:38:14
Problema Autobuz Status done
Runda corectarea_bugurilor Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:64:6: warning: variable ‘costs’ set but not used [-Wunused-but-set-variable] int costs[n + 5]; ^ user.cpp:55:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuz", "r", stdin); ^ user.cpp:56: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); ^ user.cpp:59:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:76:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &id1, &id2, &cost); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms348kbKilled by signal 11(SIGSEGV).0
20ms348kbKilled by signal 11(SIGSEGV).0
30ms352kbKilled by signal 11(SIGSEGV).0
40ms348kbKilled by signal 11(SIGSEGV).0
50ms352kbKilled by signal 11(SIGSEGV).0
60ms348kbKilled by signal 11(SIGSEGV).0
70ms348kbKilled by signal 11(SIGSEGV).0
80ms356kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?