| Problem | modulochain |
|---|---|
| User | huyleisme |
| Submission Time | 2024-01-25 20:41:12 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
modulochain.cpp: In function ‘int32_t main()’:
modulochain.cpp:21:6: error: redeclaration of ‘long long int product’
21 | int product = (num[0] * num[n-1]) % mod;
| ^~~~~~~
modulochain.cpp:10:6: note: ‘long long int product’ previously declared here
10 | int product = 1;
| ^~~~~~~