| Problem | brick | 
|---|---|
| User | rhea61 | 
| Submission Time | 2023-11-08 14:26:43 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 brick.cpp: In function ‘int32_t main()’:
brick.cpp:14:2: error: ‘else’ without a previous ‘if’
   14 |  else if (height <x)
      |  ^~~~
brick.cpp:15:11: error: no matching function for call to ‘std::stack<char>::pop(long long int&)’
   15 |   s. pop(a);
      |           ^
In file included from /usr/include/c++/9/stack:61,
                 from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:89,
                 from brick.cpp:1:
/usr/include/c++/9/bits/stl_stack.h:266:7: note: candidate: ‘void std::stack<_Tp, _Sequence>::pop() [with _Tp = char; _Sequence = std::deque<char, std::allocator<char> >]’
  266 |       pop()
      |       ^~~
/usr/include/c++/9/bits/stl_stack.h:266:7: note:   candidate expects 0 arguments, 1 provided