Problem | missingnumber |
---|---|
User | bluesky2113 |
Submission Time | 2024-08-02 20:58:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
missingnumber.cpp: In function ‘int main()’:
missingnumber.cpp:14:2: error: expected ‘}’ before ‘else’
14 | else if (n == 2 && arr[0] == 2) {
| ^~~~
missingnumber.cpp:12:29: note: to match this ‘{’
12 | if (n == 2 && arr[0] == 1) {
| ^