Borderou de evaluare (job #979722)

Utilizator stefan.friptuPetru Stefan Friptu stefan.friptu Data 2 august 2013 16:32:53
Problema Secventa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

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,&k); ^ user.cpp:18:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:21:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&v[i]); ^ user.cpp:45:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld %ld %ld\n",pf-k+1,pf,maxim); ^ user.cpp:45:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:45:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=]
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2184kbOK10
28ms2236kbOK10
324ms2444kbOK10
428ms2480kbOK10
536ms2576kbOK10
640ms2652kbOK10
764ms2968kbOK10
896ms3356kbOK10
9Depăşit1656kbTime limit exceeded.0
10Depăşit1692kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?