Problem area_noi
User cjcube
Submission Time 2023-11-25 11:22:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

area_noi.cpp: In function ‘int main()’:
area_noi.cpp:11:57: error: ‘i’ was not declared in this scope
11 | for (int i = 0; i < n; i++) cin >> b[i] >> w[i]; if (b[i]*w[i] > currentmax) currentmax = b[i]*w[i];
| ^