Problem | brick |
---|---|
User | kvankok |
Submission Time | 2023-06-26 16:54:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
brick.cpp: In function ‘int main()’:
brick.cpp:18:40: error: expected ‘)’ before ‘{’ token
18 | while (a >= sk.top() && !sk.empty() {
| ~ ^~
| )
brick.cpp:24:18: error: missing template arguments before ‘.’ token
24 | cout << stack.top() << " ";
| ^
brick.cpp:25:10: error: expected unqualified-id before ‘.’ token
25 | stack.pop();
| ^