Borderou de evaluare (job #999394)
Utilizator | Data | 20 septembrie 2013 09:28:16 | |
---|---|---|---|
Problema | Arbori de intervale | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int ArbQwery(int, int, int, int, int)’:
user.cpp:17:55: error: ‘max’ was not declared in this scope
if (x<=mij) sol=max(sol,ArbQwery(nod*2,st,mij,x,y));
^
user.cpp:18:58: error: ‘max’ was not declared in this scope
if (mij<y) sol=max(sol,ArbQwery(nod*2+1,mij+1,dr,x,y));
^
user.cpp: In function ‘void ArbUpdate(int, int, int, int, int)’:
user.cpp:34:35: error: ‘max’ was not declared in this scope
T[nod]=max(T[nod*2],T[nod*2+1]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !