Problem rotarylock
User PlayVoltz
Submission Time 2023-09-05 19:32:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rotarylock.cpp: In function ‘long long unsigned int query(long long unsigned int, long long unsigned int, long long unsigned int, long long unsigned int)’:
rotarylock.cpp:32:43: error: expected ‘;’ before ‘}’ token
32 | return query(2*index+1, low, mid, ifind)
| ^
| ;
33 | }
| ~
rotarylock.cpp: In function ‘int main()’:
rotarylock.cpp:80:31: error: too many arguments to function ‘long long unsigned int query(long long unsigned int, long long unsigned int, long long unsigned int, long long unsigned int)’
80 | cout<<query(0, 0, n-1, b, b)<<"\n";
| ^
rotarylock.cpp:17:4: note: declared here
17 | ll query(ll index, ll low, ll high, ll ifind){
| ^~~~~