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

Compile Error

bracketex.cpp: In function ‘int main()’:
bracketex.cpp:9:13: error: expected ‘;’ before ‘for’
9 | cin >> n
| ^
| ;
10 | for (i=0, i < n, i++){
| ~~~
bracketex.cpp: At global scope:
bracketex.cpp:29:1: error: expected unqualified-id before ‘if’
29 | if (s.empty())
| ^~