Problem modulochain
User noob41
Submission Time 2023-11-08 15:16:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

modulochain.cpp: In function ‘int32_t main()’:
modulochain.cpp:17:10: error: ‘N’ was not declared in this scope
17 | modp=1*(N%1000000007);
| ^
modulochain.cpp:24:2: error: ‘diff’ was not declared in this scope
24 | diff=1-summ;
| ^~~~
modulochain.cpp:25:2: error: ‘moddiff’ was not declared in this scope; did you mean ‘modff’?
25 | moddiff=diff%1000000007;
| ^~~~~~~
| modff
modulochain.cpp:26:33: error: expected ‘;’ before ‘}’ token
26 | cout<<sum<<' '<<modp<<' '<<summ
| ^
| ;
27 |
28 | }
| ~