Borderou de evaluare (job #1118479)

Utilizator roparexRoparex roparex Data 24 februarie 2014 11:22:45
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&n,&m); ^ user.cpp:18:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:20:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&a[i]); ^ user.cpp:22:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&b[i]); ^ user.cpp:23:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",cmlsc(n,m)); ^ user.cpp:25:38: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] if(v[i]==1)printf("%ld ",a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbRaspuns corect!10
264ms236kbSubsir incorect!0
3Depăşit236kbTime limit exceeded.0
4Depăşit236kbTime limit exceeded.0
5Depăşit232kbTime limit exceeded.0
6Depăşit232kbTime limit exceeded.0
7Depăşit260kbTime limit exceeded.0
8Depăşit260kbTime limit exceeded.0
9Depăşit292kbTime limit exceeded.0
10Depăşit252kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?