Problem | bracketex |
---|---|
User | noob41 |
Submission Time | 2023-11-08 20:51:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bracketex.cpp: In function ‘int32_t main()’:
bracketex.cpp:10:21: error: expected ‘;’ before ‘)’ token
10 | for(int i=0;i<n,i++){
| ^
| ;
bracketex.cpp:15:43: error: expected primary-expression before ‘==’ token
15 | else if(x==')' && !s.empty() && s.top())=='('){
| ^~
bracketex.cpp:24:51: error: expected ‘)’ before ‘{’ token
24 | else if((x==')'|| x==']' || x==')') && s.empty(){
| ~ ^
| )
bracketex.cpp:28:5: error: expected primary-expression before ‘}’ token
28 | }
| ^