Borderou de evaluare (job #1173410)

Utilizator IonMosnoiIon Mosnoi IonMosnoi Data 19 aprilie 2014 17:19:28
Problema Carnati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] scanf("%d%d",&n,&c); ^ user.cpp:14:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] scanf("%d%d",&t[i],&p[i]); ^ user.cpp:39:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",sol); ^ user.cpp:16:29: warning: unused variable ‘sum’ [-Wunused-variable] long long sol = -100000000,sum,poz,old,news,G; ^ user.cpp:16:33: warning: unused variable ‘poz’ [-Wunused-variable] long long sol = -100000000,sum,poz,old,news,G; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbOK10
20ms236kbIncorect0
34ms232kbIncorect0
48ms244kbIncorect0
520ms248kbIncorect0
620ms244kbIncorect0
720ms244kbIncorect0
872ms244kbIncorect0
972ms244kbIncorect0
1072ms232kbIncorect0
Punctaj total10

Ceva nu functioneaza?