Problem | laptop |
---|---|
User | om2024 |
Submission Time | 2024-06-21 14:40:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
laptop.cpp: In function ‘int main()’:
laptop.cpp:17:6: error: expected ‘(’ before ‘v’
17 | if v[1] == 1) {
| ^
| (
laptop.cpp:31:3: error: expected ‘}’ before ‘else’
31 | else if (!p) {
| ^~~~
laptop.cpp:25:10: note: to match this ‘{’
25 | if (p) {
| ^
laptop.cpp:39:1: error: expected ‘}’ at end of input
39 | }
| ^
laptop.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^