Problem bracketex
User liuyueyang0510
Submission Time 2024-04-18 17:26:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketex.cpp:21:5: error: expected unqualified-id before ‘for’
21 | for (int i = start + 1; i < end; i++) {
| ^~~
bracketex.cpp:21:29: error: ‘i’ does not name a type
21 | for (int i = start + 1; i < end; i++) {
| ^
bracketex.cpp:21:38: error: ‘i’ does not name a type
21 | for (int i = start + 1; i < end; i++) {
| ^
bracketex.cpp:30:5: error: expected unqualified-id before ‘return’
30 | return false;
| ^~~~~~
bracketex.cpp:31:1: error: expected declaration before ‘}’ token
31 | }
| ^