Problem lunchbox
User Dam
Submission Time 2023-01-17 13:46:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:26:38: error: ‘i’ was not declared in this scope
26 | for(int k=0;k<2;k++){std::cin>>list[i];}
| ^