Problem boxes2
User Kiameimon
Submission Time 2023-12-30 16:37:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boxes2.cpp: In function ‘int main()’:
boxes2.cpp:13:2: error: ‘l’ was not declared in this scope
13 | l[n+1]; for(int i = 0; i <= n; i++) cin >> l[i];
| ^
boxes2.cpp:14:6: error: redeclaration of ‘long long int x’
14 | int x; cin >> x;
| ^
boxes2.cpp:12:9: note: ‘long long int x’ previously declared here
12 | int n, x; cin >> n;
| ^