Borderou de evaluare (job #2464443)
Utilizator | Data | 28 septembrie 2019 14:51:16 | |
---|---|---|---|
Problema | Fibsum | Status | done |
Runda | Romanian Collegiate Programming Contest 2019 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'uint64_t fib(uint64_t)':
main.cpp:48:27: error: 'sqrt' was not declared in this scope
double phi = (1 + sqrt(5)) / 2;
^
main.cpp:49:26: error: 'pow' was not declared in this scope
return round(pow(phi, n) / sqrt(5));
^
main.cpp:49:37: error: 'round' was not declared in this scope
return round(pow(phi, n) / sqrt(5));
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !