wall.cpp: In function 'void buildWall(int, int, int*, int*, int*, int*, int*)':
wall.cpp:2:3: error: 'vector' was not declared in this scope
2 | vector<long long int>dp(n+5,0);
| ^~~~~~
wall.cpp:2:10: error: expected primary-expression before 'long'
2 | vector<long long int>dp(n+5,0);
| ^~~~
wall.cpp:6:7: error: 'dp' was not declared in this scope; did you mean 'op'?
6 | dp[left[i]]+=1LL*height[i],dp[right[i]+1]-=1LL*height[i];
| ^~
| op
wall.cpp:8:7: error: 'dp' was not declared in this scope; did you mean 'op'?
8 | dp[left[i]]-=1LL*height[i],dp[right[i]+1]+=1LL*height[i];
| ^~
| op
wall.cpp:12:10: error: 'dp' was not declared in this scope; did you mean 'op'?
12 | cur+=dp[i];
| ^~
| op