Problem bracketex
User annan
Submission Time 2023-11-09 15:48:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketex.cpp:7:7: error: stray ‘\357’ in program
7 | char x;
| ^
bracketex.cpp:7:8: error: stray ‘\274’ in program
7 | char x;
| ^
bracketex.cpp:7:9: error: stray ‘\233’ in program
7 | char x;
| ^
bracketex.cpp:10:9: error: stray ‘\’ in program
10 | for \(i=0, i < n, i++){
| ^
bracketex.cpp:12:44: error: missing terminating ' character
12 | if(x == '(' || x == '[' || x == '{'' ){
| ^~~~
bracketex.cpp:6:5: error: conflicting declaration ‘int s’
6 | int s;
| ^
bracketex.cpp:4:13: note: previous declaration as ‘std::stack<char> s’
4 | stack<char> s;
| ^
bracketex.cpp:8:1: error: expected initializer before ‘int’
8 | int main(){
| ^~~
bracketex.cpp:27:1: error: expected declaration before ‘}’ token
27 | }
| ^
b