Problem brick
User sussyimpasta
Submission Time 2025-06-16 14:16:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp:3:20: error: expected ‘;’ before ‘signed’
3 | using namespace std
| ^
| ;
4 | signed main(){
| ~~~~~~
brick.cpp: In function ‘int main()’:
brick.cpp:7:30: error: ‘a’ was not declared in this scope
7 | for(int i=0;i<n;i++) cin >> a[i];
| ^
brick.cpp:9:9: error: ‘a’ was not declared in this scope
9 | v[0] = a[0]; int m=0;
| ^
brick.cpp:12:5: error: ‘class std::vector<long long int>’ has no member named ‘pop_front’
12 | v.pop_front();
| ^~~~~~~~~
brick.cpp:13:5: error: ‘class std::vector<long long int>’ has no member named ‘push_front’
13 | v.push_front(a[i]);
| ^~~~~~~~~~
brick.cpp:16:5: error: ‘class std::vector<long long int>’ has no member named ‘push_front’
16 | v.push_front(a[i]);
| ^~~~~~~~~~