Problem foodchain
User kkai
Submission Time 2024-03-07 23:40:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:13:14: error: redeclaration of ‘uint64_t total’
13 | uint64_t total = (((((a * b) % 1000000007) * c) % 1000000007) * d) % 1000000007;
| ^~~~~
foodchain.cpp:11:14: note: ‘uint64_t total’ previously declared here
11 | uint64_t total = 0;
| ^~~~~