Borderou de evaluare (job #1786022)

Utilizator maria_sinteaMaria Sintea maria_sintea Data 22 octombrie 2016 11:30:02
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:10:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:12:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &a[i]); ^ user.cpp:13:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ user.cpp:15:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &b[j]); ^ user.cpp: In function ‘int main()’: user.cpp:38:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.in","r",stdin); ^ user.cpp:39:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.out","w",stdout); ^ user.cpp: In function ‘void generare()’: user.cpp:31:27: warning: array subscript is below array bounds [-Warray-bounds] printf("%d\n", c[n-1][m-1]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms304kbLungime incorecta!0
20ms328kbLungime incorecta!0
30ms344kbLungime incorecta!0
40ms1092kbLungime incorecta!0
50ms1308kbLungime incorecta!0
64ms2380kbLungime incorecta!0
78ms4312kbLungime incorecta!0
84ms2824kbKilled by signal 11(SIGSEGV).0
94ms4316kbLungime incorecta!0
104ms3552kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?