Problem | bracketex |
---|---|
User | vince |
Submission Time | 2023-11-08 16:08:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bracketex.cpp: In function ‘int32_t main()’:
bracketex.cpp:24:40: error: lvalue required as left operand of assignment
24 | else if (S[i] == ')' && s1.empty() = false){
| ^~~~~
bracketex.cpp:27:40: error: lvalue required as left operand of assignment
27 | else if (S[i] == ')' && s1.empty() = true){
| ^~~~
bracketex.cpp:30:40: error: lvalue required as left operand of assignment
30 | else if (S[i] == ']' && s2.empty() = false){
| ^~~~~
bracketex.cpp:33:40: error: lvalue required as left operand of assignment
33 | else if (S[i] == ']' && s2.empty() = true){
| ^~~~
bracketex.cpp:36:40: error: lvalue required as left operand of assignment
36 | else if (S[i] == '}' && s3.empty() = false){
| ^~~~~
b