Borderou de evaluare (job #2864826)
Utilizator | Data | 8 martie 2022 11:41:47 | |
---|---|---|---|
Problema | Range minimum query | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:33:21: error: 'pow' was not declared in this scope
33 | for (int i = 1; pow(2, i) <= n; i++)
| ^~~
main.cpp:46:21: error: 'pow' was not declared in this scope
46 | sh = diff - pow(2, l);
| ^~~
main.cpp:19:15: warning: unused variable 'p' [-Wunused-variable]
19 | int n, m, p, l, diff, x, y, sh;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !