Problem cny
User PerihelionfromAphelion
Submission Time 2026-09-27 15:40:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cny.cpp: In function ‘int main()’:
cny.cpp:7:7: error: ‘i’ was not declared in this scope
7 | for (i = 0; i < n; i++) cin >> a[i];
| ^
cny.cpp:10:7: error: ‘i’ was not declared in this scope
10 | for (i = 0; i < m; i++) ans += a[i];
| ^