| Problem | brick |
|---|---|
| User | ForsakenPBJ |
| Submission Time | 2025-01-24 18:45:35 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
brick.cpp: In function ‘int main()’:
brick.cpp:10:3: error: expected ‘,’ or ‘;’ before ‘cin’
10 | cin >> x;
| ^~~
brick.cpp:11:3: error: ‘length’ was not declared in this scope
11 | length = stack.size()
| ^~~~~~
brick.cpp:15:3: error: ‘else’ without a previous ‘if’
15 | else {
| ^~~~
brick.cpp:16:10: error: ‘class std::vector<int>’ has no member named ‘push_front’
16 | stack.push_front(x)
| ^~~~~~~~~~