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

Compile Error

modulochain.cpp: In function ‘int main()’:
modulochain.cpp:15:8: error: ‘sumendl’ was not declared in this scope
15 | cout<<sumendl;
| ^~~~~~~
modulochain.cpp:16:56: error: expected ‘;’ before ‘endl’
16 | cout<<((arr[0]*arr[n])%(10*10*10*10*10*10*10*10*10+7))endl;
| ^~~~
| ;
modulochain.cpp:17:53: error: expected ‘;’ before ‘endl’
17 | cout<<(2*arr[0]-sum)%(10*10*10*10*10*10*10*10*10+7)endl;
| ^~~~
| ;