Problem | duckhunt13 |
---|---|
User | Shauryaw |
Submission Time | 2025-06-18 10:06:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckhunt13.cpp: In function ‘int main()’:
duckhunt13.cpp:16:21: error: expected ‘;’ before ‘}’ token
16 | deck.push_back(x)
| ^
| ;
17 | } else if (type == 2) {
| ~
duckhunt13.cpp:19:27: error: expected primary-expression before ‘or’ token
19 | if (deck.back() == 1) or (deck.back() == 2) or (deck.back() == 3)
| ^~
duckhunt13.cpp:28:1: error: expected ‘}’ at end of input
28 | }
| ^
duckhunt13.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^