Borderou de evaluare (job #2138376)

Utilizator AvramDanielAvram Daniel AvramDaniel Data 21 februarie 2018 16:32:09
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘long unsigned int cautbin(long unsigned int, long unsigned int, long unsigned int, long unsigned int)’: user.cpp:10:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] { if(st==dr) ^ user.cpp:40:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(x==a[mid]) if(a[mid-1]<x) return mid; else return cautbin(st,mid-1,2,x); ^ user.cpp:45:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit1560kbTime limit exceeded.00
20ms1560kbIncorect00
3Depăşit1572kbTime limit exceeded.00
4Depăşit1576kbTime limit exceeded.00
5Depăşit1648kbTime limit exceeded.00
6Depăşit1956kbTime limit exceeded.0
7Depăşit2348kbTime limit exceeded.00
8Depăşit2344kbTime limit exceeded.0
9Depăşit2344kbTime limit exceeded.0
10Depăşit2344kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?