Problem mandarins
User kesleryak
Submission Time 2024-04-28 11:16:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mandarins.cpp: In function ‘int main()’:
mandarins.cpp:11:31: error: expected ‘;’ before ‘MOD’
11 | result += (result * b)MOD;
| ^~~
| ;
mandarins.cpp:12:16: error: expected ‘;’ before ‘}’ token
12 | result %= MOD
| ^
| ;
13 | }
| ~