Borderou de evaluare (job #1772911)

Utilizator tgm000Tudor Mocioi tgm000 Data 7 octombrie 2016 10:56:46
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘unsigned char*’ [-Wformat=] scanf("%d",&a[i]); ^ user.cpp:14:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘unsigned char*’ [-Wformat=] scanf("%d",&b[i]); ^ user.cpp:27:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<d[m][n].size();i++) ^ user.cpp:8: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:9: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:10:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&m,&n); ^ user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^ user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms12572kbRaspuns corect!10
216ms12572kbRaspuns corect!10
316ms12580kbRaspuns corect!10
432ms14292kbRaspuns corect!10
532ms14468kbRaspuns corect!10
640msDepăşitMemory limit exceeded.0
744msDepăşitMemory limit exceeded.0
840msDepăşitMemory limit exceeded.0
948msDepăşitMemory limit exceeded.0
1044msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?