Problem | modulochain |
---|---|
User | BigEd15 |
Submission Time | 2025-02-03 22:39:57 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
modulochain.cpp: In function ‘int main()’:
modulochain.cpp:27:34: error: ‘sum’ was not declared in this scope; did you mean ‘sub’?
27 | int sub = ((arr[0] % mod) - ((((sum % mod) - (arr[0] % mod)) + mod) % mod) + mod) % mod;
| ^~~
| sub