Problem foodchain
User mandychew
Submission Time 2023-01-22 11:18:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:2:9: error: ‘ll’ does not name a type
2 | const ll mod = 1e9 + 9;
| ^~
foodchain.cpp:4:3: error: ‘cin’ was not declared in this scope
4 | cin >> a >> b >> c >> d >> e;
| ^~~
foodchain.cpp:5:8: error: ‘mod’ was not declared in this scope
5 | a %= mod, b %= mod, c %= mod, d %= mod, e %= mod;
| ^~~
foodchain.cpp:7:3: error: ‘cout’ was not declared in this scope
7 | cout << a;
| ^~~~