Borderou de evaluare (job #2784391)
Utilizator | Data | 16 octombrie 2021 13:23:32 | |
---|---|---|---|
Problema | Arbori de intervale | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void build(int, int, int)':
main.cpp:18:19: error: 'max' was not declared in this scope
18 | T[node] = max(T[2 * node], T[2 * node + 1]);
| ^~~
main.cpp: In function 'void update(int, int, int)':
main.cpp:32:19: error: 'max' was not declared in this scope
32 | T[node] = max(T[2 * node], T[2 * node + 1]);
| ^~~
main.cpp: In function 'void query(int, int, int)':
main.cpp:39:15: error: 'max' was not declared in this scope
39 | val = max(val, T[node]);
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !