Problem dyingpolynomial
User yuxiangt
Submission Time 2026-02-15 16:09:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dyingpolynomial.cpp:9:23: error: ‘b’ has not been declared
9 | void bi_search(int a,b,c,d){
| ^
dyingpolynomial.cpp:9:25: error: ‘c’ has not been declared
9 | void bi_search(int a,b,c,d){
| ^
dyingpolynomial.cpp:9:27: error: ‘d’ has not been declared
9 | void bi_search(int a,b,c,d){
| ^
dyingpolynomial.cpp: In function ‘void bi_search(int, int, int, int)’:
dyingpolynomial.cpp:11:16: error: ‘d’ was not declared in this scope
11 | int r = ceil(d**(1/3));
| ^
dyingpolynomial.cpp:11:23: error: invalid type argument of unary ‘*’ (have ‘int’)
11 | int r = ceil(d**(1/3));
| ^
dyingpolynomial.cpp:11:11: error: ‘ceil’ was not declared in this scope
11 | int r = ceil(d**(1/3));
| ^~~~
dyingpolynomial.cpp:14:14: error: ‘floor’ was not declared in this scope