Problem robotonring1
User ProMoment
Submission Time 2025-11-25 15:27:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

robotonring1.cpp: In function ‘int main()’:
robotonring1.cpp:16:14: error: expected ‘)’ before ‘]’ token
16 | pos=(A[i]+B])%M;
| ~ ^
| )
robotonring1.cpp:18:14: error: expected ‘)’ before ‘]’ token
18 | pos=(A[i]-B])%M;
| ~ ^
| )