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

Compile Error

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