Borderou de evaluare (job #1155898)

Utilizator iarbaCrestez Paul iarba Data 27 martie 2014 11:42:14
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&t); ^ user.cpp:35:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&caz); ^ user.cpp:37:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&a[++n]);m++; ^ user.cpp:42: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
10ms236kbOK1010
20ms232kbOK1010
34ms236kbOK1010
48ms272kbOK1010
536ms412kbOK1060
676ms580kbOK10
7124ms1404kbOK10
8124ms1048kbOK10
9152ms928kbOK10
10152ms924kbOK10
Punctaj total100

Ceva nu functioneaza?