| Problem | modulochain |
|---|---|
| User | sussygoose |
| Submission Time | 2025-11-08 14:50:17 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
modulochain.cpp: In function ‘int main()’:
modulochain.cpp:17:14: error: invalid types ‘int[int]’ for array subscript
17 | cout << (a[0]*a[n-1])%big << " ";
| ^
modulochain.cpp:17:21: error: invalid types ‘int[int]’ for array subscript
17 | cout << (a[0]*a[n-1])%big << " ";
| ^
modulochain.cpp:18:21: error: invalid types ‘int[int]’ for array subscript
18 | long long yay = a[0];
| ^
modulochain.cpp:20:17: error: invalid types ‘int[int]’ for array subscript
20 | yay = (yay-a[i])%big;
| ^