Borderou de evaluare (job #1902753)

Utilizator stefan_bogdanstefan bogdan stefan_bogdan Data 4 martie 2017 19:29:57
Problema Project management Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:101:11: warning: unused variable ‘fiu’ [-Wunused-variable] int fiu = *it; ^ user.cpp:113:11: warning: unused variable ‘fiu’ [-Wunused-variable] int fiu = *it; ^ user.cpp: In function ‘void read()’: user.cpp:25:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &n); ^ user.cpp:26:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (int i = 1; i <= n; i++)fscanf(f, "%d", &dur[i]); ^ user.cpp:29:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &mk); ^ user.cpp:32:53: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &k), a[k][i] = dur[k] + dur[i]; ^ user.cpp: In function ‘void solve()’: user.cpp:107:21: warning: array subscript is below array bounds [-Warray-bounds] l[n + 1] = e[n + 1]; ^ user.cpp:107:10: warning: array subscript is below array bounds [-Warray-bounds] l[n + 1] = e[n + 1]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms360kbKilled by signal 11(SIGSEGV).0
20ms356kbKilled by signal 11(SIGSEGV).0
30ms360kbKilled by signal 11(SIGSEGV).0
40ms356kbKilled by signal 11(SIGSEGV).0
50ms360kbKilled by signal 11(SIGSEGV).0
60ms360kbKilled by signal 11(SIGSEGV).0
70ms364kbKilled by signal 11(SIGSEGV).0
80ms356kbKilled by signal 11(SIGSEGV).0
90ms364kbKilled by signal 11(SIGSEGV).0
100ms356kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?