Problem rotarylock
User shoryu386
Submission Time 2023-12-12 15:19:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rotarylock.cpp: In function ‘void solve()’:
rotarylock.cpp:102:21: error: assignment of read-only variable ‘MOD’
102 | cin>>n>>q>>k; MOD = (1LL<<k);
| ~~~~^~~~~~~~~~