Borderou de evaluare (job #1148357)

Utilizator vyrtusRadu Criuleni vyrtus Data 20 martie 2014 18:27:41
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int search(int, int, int)’: user.cpp:45:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (low == high) ^ user.cpp: In function ‘int main()’: user.cpp:56:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d%d",&n,&m ); ^ user.cpp:56:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:68:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] if (x == 0) { int poz; scanf("%d%d",&poz,&a); update(poz,a); } ^ user.cpp:70:37: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] { scanf("%i%i",&a,&b); ^ user.cpp:70:37: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:72:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n",sol); ^ user.cpp: In function ‘int search(int, int, int)’: user.cpp:50:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit372kbTime limit exceeded.0
24ms400kbIncorect0
3Depăşit392kbTime limit exceeded.0
4Depăşit444kbTime limit exceeded.0
5Depăşit512kbTime limit exceeded.0
6Depăşit632kbTime limit exceeded.0
7Depăşit700kbTime limit exceeded.0
8Depăşit756kbTime limit exceeded.0
9Depăşit760kbTime limit exceeded.0
10Depăşit760kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?