Borderou de evaluare (job #1506705)

Utilizator TataruTataru Mihai Tataru Data 20 octombrie 2015 21:45:53
Problema Scara 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &n, &h2o); ^ user.cpp:35:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &pos, &q); ^ user.cpp:46:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &ezz); ^ user.cpp:48:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &pos, &q); ^ user.cpp: In function ‘void init()’: user.cpp:24:55: warning: array subscript is above array bounds [-Warray-bounds] for(int i = 1; i <= n; ++i) step[NMAX] = cost[NMAX] = inf; ^ user.cpp:24:42: warning: array subscript is above array bounds [-Warray-bounds] for(int i = 1; i <= n; ++i) step[NMAX] = cost[NMAX] = inf; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms340kbKilled by signal 11(SIGSEGV).0
20ms340kbKilled by signal 11(SIGSEGV).0
30ms340kbKilled by signal 11(SIGSEGV).0
40ms340kbKilled by signal 11(SIGSEGV).0
50ms340kbKilled by signal 11(SIGSEGV).0
60ms344kbKilled by signal 11(SIGSEGV).0
70ms336kbKilled by signal 11(SIGSEGV).0
80ms340kbKilled by signal 11(SIGSEGV).0
90ms340kbKilled by signal 11(SIGSEGV).0
100ms344kbKilled by signal 11(SIGSEGV).0
110ms344kbKilled by signal 11(SIGSEGV).0
120ms336kbKilled by signal 11(SIGSEGV).0
130ms336kbKilled by signal 11(SIGSEGV).0
140ms340kbKilled by signal 11(SIGSEGV).0
150ms340kbKilled by signal 11(SIGSEGV).0
160ms344kbKilled by signal 11(SIGSEGV).0
170ms340kbKilled by signal 11(SIGSEGV).0
180ms340kbKilled by signal 11(SIGSEGV).0
190ms336kbKilled by signal 11(SIGSEGV).0
200ms340kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?