Borderou de evaluare (job #1164940)

Utilizator lianaliana tucar liana Data 2 aprilie 2014 13:04:25
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&n,&m); ^ user.cpp:30:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:33:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&x); ^ user.cpp:39:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&op); ^ user.cpp:42:36: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&poz,&x); ^ user.cpp:42:36: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:47:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&a,&b); ^ user.cpp:47:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:51:38: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",query()-s1); ^ user.cpp:55:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&s); ^ user.cpp:68:34: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",st); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbOK10
24ms232kbOK10
38ms236kbOK10
432ms312kbOK10
576ms348kbOK10
6116ms464kbOK10
7120ms548kbOK10
8168ms604kbOK10
9168ms608kbOK10
10168ms608kbOK10
Punctaj total100

Ceva nu functioneaza?