Borderou de evaluare (job #1155742)

Utilizator iarbaCrestez Paul iarba Data 27 martie 2014 10:03:22
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp:3:11: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] int heap[1<<18+1],a[200002],ph[200002],caz,poz,t,n,i; ^ user.cpp: In function ‘int main()’: user.cpp:27:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&t);a[0]=-1;a[200001]=999999; ^ user.cpp:30:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&caz); ^ user.cpp:32:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&a[++n]); ^ user.cpp:37:20: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&poz); ^ user.cpp:41:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",a[heap[1]]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms996kbOK1010
24ms996kbOK1010
34ms1008kbOK1010
4Depăşit1008kbTime limit exceeded.00
528ms1172kbOK100
660ms1328kbOK10
760ms1788kbKilled by signal 11(SIGSEGV).0
8104ms1632kbOK10
9116ms1652kbOK10
10116ms1660kbIncorect0
Punctaj total30

Ceva nu functioneaza?