Problem | modulochain |
---|---|
User | Duk168 |
Submission Time | 2024-02-10 08:56:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
modulochain.cpp: In function ‘int main()’:
modulochain.cpp:19:16: error: ‘tsum’ was not declared in this scope; did you mean ‘sum’?
19 | sum = (tsum + A[i]) % MOD;
| ^~~~
| sum
modulochain.cpp:26:13: error: ‘total_sum’ was not declared in this scope
26 | cout << total_sum << " " << product_first_last << " " << subtraction_modulo << endl;
| ^~~~~~~~~
modulochain.cpp:26:33: error: ‘product_first_last’ was not declared in this scope
26 | cout << total_sum << " " << product_first_last << " " << subtraction_modulo << endl;
| ^~~~~~~~~~~~~~~~~~
modulochain.cpp:26:62: error: ‘subtraction_modulo’ was not declared in this scope
26 | cout << total_sum << " " << product_first_last << " " << subtraction_modulo << endl;