Borderou de evaluare (job #1147838)

Utilizator iarbaCrestez Paul iarba Data 20 martie 2014 10:40:32
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:39:22: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&n,&m); ^ user.cpp:39:22: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:41:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&val);poz=i;update(1,1,n); ^ user.cpp:46:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&poz,&val); ^ user.cpp:46:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:50:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&x,&y); ^ user.cpp:50:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:52:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",s); ^ user.cpp:55:20: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&val); ^ user.cpp:57:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbOK10
24ms240kbOK10
316ms288kbOK10
460ms488kbOK10
5148ms740kbOK10
6232ms740kbOK10
732msDepăşitMemory limit exceeded.0
840msDepăşitMemory limit exceeded.0
936msDepăşitMemory limit exceeded.0
1036msDepăşitMemory limit exceeded.0
Punctaj total60

Ceva nu functioneaza?