Problem foodchain
User idontlikeboystrustme
Submission Time 2025-02-03 17:11:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:17:19: error: expected ‘;’ before ‘)’ token
17 | x = ( x*a ) % mod );
| ^~
| ;
foodchain.cpp:18:19: error: expected ‘;’ before ‘)’ token
18 | x = ( x*b ) % mod ) ;
| ^~
| ;
foodchain.cpp:19:19: error: expected ‘;’ before ‘)’ token
19 | x = ( x*c ) % mod );
| ^~
| ;
foodchain.cpp:20:19: error: expected ‘;’ before ‘)’ token
20 | x = ( x*d ) % mod );
| ^~
| ;
foodchain.cpp:21:19: error: expected ‘;’ before ‘)’ token
21 | x = ( x*e ) % mod );
| ^~
| ;