Borderou de evaluare (job #1075623)

Utilizator iarbaCrestez Paul iarba Data 9 ianuarie 2014 12:24:45
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] for(i=1;i<=n;i++){scanf("%ld",&v);p=i;update(1,1,n);} ^ user.cpp:32:17: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&k); ^ user.cpp:33:38: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] /*q*/ if(k==0){scanf("%ld%ld",&st,&sf);maxim=0;query(1,1,n);printf("%ld\n",maxim);} ^ user.cpp:33:38: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:33:81: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] /*q*/ if(k==0){scanf("%ld%ld",&st,&sf);maxim=0;query(1,1,n);printf("%ld\n",maxim);} ^ user.cpp:34:36: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] /*u*/ if(k==1){scanf("%ld%ld",&p,&v);update(1,1,n);} ^ user.cpp:34:36: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms236kbOK1010
28ms232kbOK1010
316ms248kbOK1010
444ms296kbOK1010
576ms1252kbOK1010
696ms1252kbOK100
7Depăşit1248kbTime limit exceeded.0
8184ms1252kbOK10
9192ms1252kbOK10
10200ms1256kbOK10
Punctaj total50

Ceva nu functioneaza?