Problem bracketex
User vince
Submission Time 2023-11-08 16:04:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketex.cpp: In function ‘int32_t main()’:
bracketex.cpp:34:10: error: ‘class std::stack<long long int>’ has no member named ‘isEmpty’; did you mean ‘empty’?
34 | if ((s1.isEmpty() and s2.isEmpty() and s3.isEmpty()) == true){
| ^~~~~~~
| empty
bracketex.cpp:34:27: error: ‘class std::stack<long long int>’ has no member named ‘isEmpty’; did you mean ‘empty’?
34 | if ((s1.isEmpty() and s2.isEmpty() and s3.isEmpty()) == true){
| ^~~~~~~
| empty
bracketex.cpp:34:44: error: ‘class std::stack<long long int>’ has no member named ‘isEmpty’; did you mean ‘empty’?
34 | if ((s1.isEmpty() and s2.isEmpty() and s3.isEmpty()) == true){
| ^~~~~~~
| empty