Problem foodchain
User NgMinSong123
Submission Time 2023-12-04 16:05:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:8:16: error: expected ‘;’ before ‘int’
8 | g = 1000000009
| ^
| ;
9 | int hold=1;
| ~~~
foodchain.cpp:10:2: error: ‘hold’ was not declared in this scope
10 | hold = (hold*a)%g;
| ^~~~