Borderou de evaluare (job #1879440)

Utilizator VicktorVictor Teodor Stoian Vicktor Data 14 februarie 2017 21:43:30
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:16:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&a[i]); ^ user.cpp:19:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&b[i]); ^ user.cpp:28:18: warning: left operand of comma operator has no effect [-Wunused-value] for(i=n,j=m;i,j;) ^ user.cpp:11:10: warning: unused variable ‘cin’ [-Wunused-variable] FILE*cin=freopen("cmlsc.in","r",stdin); ^ user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^ user.cpp:19: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
10ms432kbRaspuns corect!10
20ms444kbRaspuns corect!10
30ms456kbRaspuns corect!10
40ms824kbRaspuns corect!10
50ms936kbRaspuns corect!10
64ms1464kbRaspuns corect!10
78ms2436kbRaspuns corect!10
88ms2260kbRaspuns corect!10
98ms2444kbRaspuns corect!10
108ms2060kbRaspuns corect!10
Punctaj total100

Ceva nu functioneaza?