Borderou de evaluare (job #2902467)
Utilizator | Data | 16 mai 2022 14:45:05 | |
---|---|---|---|
Problema | Mit | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int rmq_query(std::vector<std::vector<int> >, int, int)':
main.cpp:10:12: error: 'log2' was not declared in this scope; did you mean 'log'?
10 | int log = log2(right - left + 1); // parte intreaga din log
| ^~~~
| log
main.cpp: In function 'int main()':
main.cpp:22:12: error: 'log2' was not declared in this scope; did you mean 'log'?
22 | int log = log2(nr_studenti); // vrem cea mai mica putere a lui 2 mai mare decat nr studenti
| ^~~~
| log
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !