Borderou de evaluare (job #1118496)

Utilizator roparexRoparex roparex Data 24 februarie 2014 11:34:53
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:8:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&n,&m); ^ user.cpp:8:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:10:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&a[i]); ^ user.cpp:12:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&b[i]); ^ user.cpp:24:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",nr); ^ user.cpp:26:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ",sir[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbRaspuns corect!10
20ms276kbRaspuns corect!10
30ms288kbRaspuns corect!10
44ms1044kbRaspuns corect!10
54ms1272kbRaspuns corect!10
68ms2340kbRaspuns corect!10
712ms4328kbRaspuns corect!10
812ms3968kbRaspuns corect!10
912ms4360kbRaspuns corect!10
1012ms3564kbRaspuns corect!10
Punctaj total100

Ceva nu functioneaza?