Borderou de evaluare (job #2280383)
Utilizator | Data | 10 noiembrie 2018 15:34:33 | |
---|---|---|---|
Problema | Mess | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In constructor 'arbint::arbint(int)':
main.cpp:45:29: error: 'log2' was not declared in this scope
int lg = ceil(log2(n));
^
main.cpp:45:30: error: 'ceil' was not declared in this scope
int lg = ceil(log2(n));
^
main.cpp:46:28: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
arb.resize(1 << lg + 1);
~~~^~~
main.cpp: In member function 'void arbint::Nod::Init(const arbint::Nod&, const arbint::Nod&)':
main.cpp:82:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < v.size(); ++i)
~~^~~~~~~~~~
main.cpp: In member function 'int arbint::Nod::GetValInd(int)':
main.cpp:115:17: warning: unused variable 'ret' [-Wunused-variable]
int ret = -1;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !