Problem | bracketsyndrome |
---|---|
User | hackerman123 |
Submission Time | 2023-07-25 22:40:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bracketsyndrome.cpp: In function ‘int main()’:
bracketsyndrome.cpp:19:4: error: ‘else’ without a previous ‘if’
19 | }else{
| ^~~~
bracketsyndrome.cpp:21:5: error: break statement not within loop or switch
21 | break;
| ^~~~~
bracketsyndrome.cpp:24:9: error: ‘new_char’ was not declared in this scope
24 | if (new_char == x.second){
| ^~~~~~~~
bracketsyndrome.cpp: At global scope:
bracketsyndrome.cpp:36:2: error: ‘cout’ does not name a type
36 | cout << valid;
| ^~~~
bracketsyndrome.cpp:37:2: error: expected unqualified-id before ‘return’
37 | return 0;
| ^~~~~~
bracketsyndrome.cpp:38:1: error: expected declaration before ‘}’ token
38 | }
| ^