Problem | bracketex |
---|---|
User | annan |
Submission Time | 2023-11-09 15:51:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bracketex.cpp: In function ‘int main()’:
bracketex.cpp:10:10: error: ‘i’ was not declared in this scope
10 | for (i=0, i < n, i++){
| ^
bracketex.cpp:27:1: error: expected primary-expression before ‘}’ token
27 | }
| ^
bracketex.cpp:26:6: error: expected ‘;’ before ‘}’ token
26 | }
| ^
| ;
27 | }
| ~
bracketex.cpp:27:1: error: expected primary-expression before ‘}’ token
27 | }
| ^
bracketex.cpp:26:6: error: expected ‘)’ before ‘}’ token
26 | }
| ^
| )
27 | }
| ~
bracketex.cpp:10:9: note: to match this ‘(’
10 | for (i=0, i < n, i++){
| ^
bracketex.cpp:27:1: error: expected primary-expression before ‘}’ token
27 | }
| ^
bracketex.cpp: At global scope:
bracketex.cpp:29:1: error: expected unqualified-id before ‘if’
29 | if (s.empty())