Problem football
User geometric
Submission Time 2023-01-14 10:02:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

football.cpp: In function ‘int main()’:
football.cpp:7:2: error: expected initializer before ‘for’
7 | for (int i = 0; i < n; i++) cin >> a[i];
| ^~~
football.cpp:7:18: error: ‘i’ was not declared in this scope
7 | for (int i = 0; i < n; i++) cin >> a[i];
| ^
football.cpp:8:37: error: ‘k’ was not declared in this scope
8 | for (int i = 0; i < n; i++) cin >> k[i];
| ^