Borderou de evaluare (job #1873719)

Utilizator Coroian_DavidCoroian David Coroian_David Data 9 februarie 2017 12:52:00
Problema Purice2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:70:15: warning: unused variable ‘h’ [-Wunused-variable] int i, j, h; ^ user.cpp:76:9: warning: unused variable ‘c’ [-Wunused-variable] int c, dd; ^ user.cpp:76:12: warning: unused variable ‘dd’ [-Wunused-variable] int c, dd; ^ user.cpp: In function ‘void readFile()’: user.cpp:125:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &t); ^ user.cpp:132:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &n, &v[1]); ^ user.cpp:139:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &v[j]); ^ user.cpp: In function ‘void solve()’: user.cpp:111:53: warning: array subscript is below array bounds [-Warray-bounds] fprintf(g, "%d\n", d[-999999999]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms268kbOK10
30ms268kbOK10
40ms244kbKilled by signal 11(SIGSEGV).0
50ms240kbKilled by signal 11(SIGSEGV).0
60ms244kbKilled by signal 11(SIGSEGV).0
70ms244kbKilled by signal 11(SIGSEGV).0
80ms240kbKilled by signal 11(SIGSEGV).0
90ms240kbKilled by signal 11(SIGSEGV).0
100ms248kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?