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

Compile Error

modulochain.cpp: In function ‘int main()’:
modulochain.cpp:28:3: error: ‘thirdNum’ was not declared in this scope
28 | thirdNum -=nums[i];
| ^~~~~~~~
modulochain.cpp:29:23: error: ‘Mod’ was not declared in this scope
29 | thirdNum= (thirdNum+Mod)%MOD;
| ^~~
modulochain.cpp:32:7: error: ‘thirdNum’ was not declared in this scope
32 | cout<thirdNum<<"\n";
| ^~~~~~~~