Borderou de evaluare (job #1772915)

Utilizator tgm000Tudor Mocioi tgm000 Data 7 octombrie 2016 11:13:34
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:30:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<d[1][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
10ms296kbRaspuns corect!10
20ms296kbRaspuns corect!10
30ms292kbRaspuns corect!10
412ms356kbRaspuns corect!10
512ms344kbRaspuns corect!10
6Depăşit500kbTime limit exceeded.0
7Depăşit480kbTime limit exceeded.0
8Depăşit532kbTime limit exceeded.0
9Depăşit432kbTime limit exceeded.0
10Depăşit484kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?