Problem modulochain
User asbx
Submission Time 2023-11-08 15:07:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

modulochain.cpp: In function ‘int main()’:
modulochain.cpp:12:26: error: invalid type argument of unary ‘*’ (have ‘int’)
12 | arr[i-1]=arr[i-1]%(10**9+1)
| ^