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

Compile Error

modulochain.cpp: In function ‘int main()’:
modulochain.cpp:29:23: error: ‘Mod’ was not declared in this scope
29 | thirdNum= (thirdNum+Mod)%MOD;
| ^~~
modulochain.cpp:32:15: error: invalid operands of types ‘long long int’ and ‘const char [2]’ to binary ‘operator<<’
32 | cout<thirdNum<<"\n";
| ~~~~~~~~^~~~~~
| | |
| | const char [2]
| long long int