Borderou de evaluare (job #1733261)

Utilizator Tudor_CandeaCandea Tudor Tudor_Candea Data 24 iulie 2016 10:52:53
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:30: warning: second operand of conditional expression has no effect [-Wunused-value] maxi(c[i][j-1],c[i-1][j]); ^ user.cpp:3:31: note: in definition of macro ‘maxi’ #define maxi(x, z) ((x > z) ? x : z) ^ user.cpp:27:40: warning: third operand of conditional expression has no effect [-Wunused-value] maxi(c[i][j-1],c[i-1][j]); ^ user.cpp:3:35: note: in definition of macro ‘maxi’ #define maxi(x, z) ((x > z) ? x : z) ^ user.cpp:9:36: 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:10:38: 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:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ user.cpp:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &b[j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbLungime incorecta!0
20ms304kbLungime incorecta!0
30ms304kbLungime incorecta!0
40ms1076kbLungime incorecta!0
50ms1284kbLungime incorecta!0
60ms2344kbLungime incorecta!0
74ms4264kbLungime incorecta!0
84ms3924kbLungime incorecta!0
94ms4204kbLungime incorecta!0
104ms3516kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?