Borderou de evaluare (job #1805165)

Utilizator catu_bogdan_99Catu Bogdan catu_bogdan_99 Data 13 noiembrie 2016 15:19:10
Problema Marmelada Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:33: warning: unused variable ‘k’ [-Wunused-variable] int n, m, i, j, x, y, a, b, k, nod, poz, mini; ^ user.cpp: In function ‘void BFS(int)’: user.cpp:70:9: warning: unused variable ‘i’ [-Wunused-variable] int i, j, nod; ^ user.cpp:70:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j, nod; ^ user.cpp: In function ‘int main()’: user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("marmelada.in","r",stdin); ^ user.cpp:22:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("marmelada.out","w",stdout); ^ user.cpp:26:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&n,&m,&a,&b); ^ user.cpp:28:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^ user.cpp:33:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for ( i = 1; i <= m; ++i ) scanf("%d",&cost_drum[ i ]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms416kbRaspuns gresit00
20ms420kbRaspuns gresit0
30ms424kbRaspuns gresit00
40ms424kbRaspuns gresit00
50ms448kbRaspuns gresit00
60ms480kbRaspuns gresit00
78ms704kbKilled by signal 11(SIGSEGV).00
80ms388kbKilled by signal 11(SIGSEGV).00
90ms384kbKilled by signal 11(SIGSEGV).00
100ms384kbKilled by signal 11(SIGSEGV).00
Punctaj total0

Ceva nu functioneaza?