Problem celldivision
User kxd
Submission Time 2023-01-18 00:37:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

celldivision.cpp: In function ‘int f(int)’:
celldivision.cpp:23:7: error: ‘i’ was not declared in this scope
23 | forn(i,64) {
| ^
celldivision.cpp:23:2: error: ‘forn’ was not declared in this scope
23 | forn(i,64) {
| ^~~~
celldivision.cpp: In function ‘int main()’:
celldivision.cpp:34:2: error: ‘ll’ was not declared in this scope
34 | ll query;
| ^~
celldivision.cpp:36:3: error: ‘query’ was not declared in this scope
36 | query = readint();
| ^~~~~
celldivision.cpp:37:5: error: expected ‘;’ before ‘ans’
37 | ll ans = 64-__builtin_clzll(query+1);
| ^~~~
| ;
celldivision.cpp:38:9: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
38 | print(ans);
| ^~~
| abs