Borderou de evaluare (job #2718657)
Utilizator | Data | 8 martie 2021 22:55:12 | |
---|---|---|---|
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 'int query(int, int, int, int, int)':
main.cpp:44:63: error: too few arguments to function 'int query(int, int, int, int, int)'
return max(query(nod << 1, st, mid, x, y), query(nod >> 1 ) + 1, mid + 1, dr, x, y));
^
main.cpp:37:5: note: declared here
int query(int nod, int st, int dr, int x, int y)
^~~~~
main.cpp:44:88: error: expected ';' before ')' token
return max(query(nod << 1, st, mid, x, y), query(nod >> 1 ) + 1, mid + 1, dr, x, y));
^
main.cpp:44:88: error: expected primary-expression before ')' token
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !