Borderou de evaluare (job #2805264)
Utilizator | Data | 21 noiembrie 2021 14:02:52 | |
---|---|---|---|
Problema | Granițe | Status | done |
Runda | Baraj - Tudor Vianu + ICHB - Seniori - 2021 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void buildrmq(int)':
main.cpp:32:16: error: 'log2' was not declared in this scope; did you mean 'logn'?
32 | int logn = log2(n - 1);
| ^~~~
| logn
main.cpp: In function 'bool check(int, int)':
main.cpp:40:15: error: 'log2' was not declared in this scope; did you mean 'log'?
40 | int log = log2(r - l + 1);
| ^~~~
| log
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !