Borderou de evaluare (job #1831782)

Utilizator catu_bogdan_99Catu Bogdan catu_bogdan_99 Data 18 decembrie 2016 18:46:38
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:21: warning: unused variable ‘x’ [-Wunused-variable] int N, M, i, j, x, y, z, s, k; ^ user.cpp:19:24: warning: unused variable ‘y’ [-Wunused-variable] int N, M, i, j, x, y, z, s, k; ^ user.cpp:19:27: warning: unused variable ‘z’ [-Wunused-variable] int N, M, i, j, x, y, z, s, k; ^ user.cpp:15: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:16: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:21:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d%d",&N,&M ); ^ user.cpp:22:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for ( i = 1; i <= N; ++i ) scanf( "%d",&A[ i ] ); ^ user.cpp:23:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for ( i = 1; i <= M; ++i ) scanf( "%d",&B[ i ] ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms480kbRaspuns corect!10
20ms512kbRaspuns corect!10
30ms528kbRaspuns corect!10
40ms1260kbRaspuns corect!10
50ms1492kbRaspuns corect!10
64ms2532kbRaspuns corect!10
78ms4464kbRaspuns corect!10
88ms4116kbRaspuns corect!10
98ms4492kbRaspuns corect!10
108ms3716kbRaspuns corect!10
Punctaj total100

Ceva nu functioneaza?