Borderou de evaluare (job #1155744)

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

Raport evaluator

Compilare: 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
14ms2268kbOK1010
24ms2264kbOK1010
34ms2272kbOK1010
4Depăşit2268kbTime limit exceeded.00
532ms2436kbOK100
660ms2596kbOK10
7120ms3048kbOK10
8112ms2888kbOK10
9116ms2924kbOK10
10120ms2924kbIncorect0
Punctaj total30

Ceva nu functioneaza?