Borderou de evaluare (job #2344839)

Utilizator Mihai_PredaPreda Mihai Dragos Mihai_Preda Data 15 februarie 2019 17:53:05
Problema Luffpar Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In constructor 'arbint::arbint(const std::vector<int>&)': main.cpp:14:29: error: 'log2' was not declared in this scope int lg = ceil(log2(n)); ^ main.cpp:14:30: error: 'ceil' was not declared in this scope int lg = ceil(log2(n)); ^ main.cpp:15:28: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] arb.resize(1 << lg + 1); ~~~^~~ Non zero exit status: 1

Ceva nu functioneaza?