Problem duckeatduck
User chenweilian
Submission Time 2026-02-09 13:26:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckeatduck.cpp: In function ‘int main()’:
duckeatduck.cpp:6:4: error: expected initializer before ‘cin’
6 | cin>>x;
| ^~~
duckeatduck.cpp:7:20: error: ‘x’ was not declared in this scope
7 | cout<<ceil(log2(x));
| ^