Problem | bracketex |
---|---|
User | hackerman123 |
Submission Time | 2023-07-25 22:21:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bracketex.cpp: In function ‘int main()’:
bracketex.cpp:8:4: error: ‘class std::vector<std::pair<char, char> >’ has no member named ‘push’
8 | v.push({'{','}'});
| ^~~~
bracketex.cpp:9:4: error: ‘class std::vector<std::pair<char, char> >’ has no member named ‘push’
9 | v.push({'(',')'});
| ^~~~
bracketex.cpp:10:4: error: ‘class std::vector<std::pair<char, char> >’ has no member named ‘push’
10 | v.push({'[',']'});
| ^~~~
bracketex.cpp:11:15: error: ‘True’ was not declared in this scope
11 | bool valid = True;
| ^~~~
bracketex.cpp:24:15: error: expected ‘;’ before ‘}’ token
24 | return 0
| ^
| ;
25 | }
| ~