Borderou de evaluare (job #1155769)

Utilizator iarbaCrestez Paul iarba Data 27 martie 2014 10:25:23
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:34:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&t); ^ user.cpp:40:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&caz); ^ user.cpp:42:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&a[++n]); ^ user.cpp:46:20: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&poz); ^ user.cpp:51: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
18ms6356kbOK1010
28ms6360kbOK1010
312ms6352kbOK1010
416ms6364kbOK1010
536ms6356kbOK100
664ms6360kbIncorect0
7128ms6360kbOK10
8112ms6356kbOK10
9128ms6364kbOK10
10124ms6356kbIncorect0
Punctaj total40

Ceva nu functioneaza?