Problem | foodchain |
---|---|
User | NeeNawAmbulance |
Submission Time | 2023-06-25 09:31:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:6:31: error: expected ‘)’ before ‘mod’
6 | ans = ((ans % 100000009) * (i mod 100000009)) % 100000009;
| ~ ^~~~
| )
foodchain.cpp:6:59: error: expected ‘)’ before ‘;’ token
6 | ans = ((ans % 100000009) * (i mod 100000009)) % 100000009;
| ~ ^
| )
foodchain.cpp:8:31: error: expected ‘)’ before ‘mod’
8 | ans = ((ans % 100000009) * (i mod 100000009)) % 100000009;
| ~ ^~~~
| )
foodchain.cpp:8:59: error: expected ‘)’ before ‘;’ token
8 | ans = ((ans % 100000009) * (i mod 100000009)) % 100000009;
| ~ ^
|