Problem modulochain
User KL
Submission Time 2024-12-04 16:00:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

modulochain.cpp: In function ‘int main()’:
modulochain.cpp:21:5: error: expected ‘,’ or ‘;’ before ‘}’ token
21 | }
| ^
modulochain.cpp:22:77: error: ‘k’ was not declared in this scope
22 | cout << sum % 1000000007 << " " << (K[0]*K[N-1])% 1000000007 << " " << k;
| ^