Problem celldivision
User eulerleonhardfan
Submission Time 2023-01-13 22:07:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

celldivision.cpp: In function ‘int main()’:
celldivision.cpp:28:20: error: ‘f’ was not declared in this scope
28 | ans = log2(f+1)+1;
| ^
celldivision.cpp:32:9: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
32 | print(ans);
| ^~~
| abs
celldivision.cpp: At global scope:
celldivision.cpp:35:1: error: expected declaration before ‘}’ token
35 | }
| ^