Problem modulochain
User Roy
Submission Time 2026-07-10 17:42:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

modulochain.cpp: In function ‘int main()’:
modulochain.cpp:23:42: error: ‘n’ was not declared in this scope
23 | long long product = (nums[0]%MOD)*(nums[n-1]%MOD);
| ^