Problem bracketex
User jiazethesigma
Submission Time 2025-12-07 20:03:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketex.cpp:23:10: error: empty character constant
23 | x[i]='';
| ^~
bracketex.cpp:24:10: error: empty character constant
24 | x[j]='';
| ^~
bracketex.cpp:43:10: error: empty character constant
43 | x[i]='';
| ^~
bracketex.cpp:44:10: error: empty character constant
44 | x[j]='';
| ^~
bracketex.cpp:63:10: error: empty character constant
63 | x[i]='';
| ^~
bracketex.cpp:64:10: error: empty character constant
64 | x[j]='';
| ^~
bracketex.cpp:4:1: error: ‘cin’ does not name a type; did you mean ‘sin’?
4 | cin>>n;
| ^~~
| sin
bracketex.cpp:5:9: error: array bound is not an integer constant before ‘]’ token
5 | char x[n];
| ^
bracketex.cpp: In function ‘int rec(int)’:
bracketex.cpp:10:5: error: ‘x’ was not declared in this scope
10 | if