Problem | brick |
---|---|
User | YH |
Submission Time | 2024-02-04 21:02:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
brick.cpp: In function ‘int main()’:
brick.cpp:33:29: error: expected ‘;’ before ‘{’ token
33 | if (bricks[d] > stack[0] {
| ^~
| ;
brick.cpp:36:5: error: expected primary-expression before ‘else’
36 | else {
| ^~~~
brick.cpp:35:6: error: expected ‘)’ before ‘else’
35 | }
| ^
| )
36 | else {
| ~~~~
brick.cpp:33:8: note: to match this ‘(’
33 | if (bricks[d] > stack[0] {
| ^