Problem lunchbox
User luoxindi09
Submission Time 2023-02-17 22:01:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int32_t main()’:
lunchbox.cpp:9:48: error: ‘i’ was not declared in this scope
9 | for (int i=0; i<m; i++) cin >> a[i]; sum += a[i];
| ^