Problem bracketex
User TheBigL
Submission Time 2026-11-05 13:02:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketex.cpp: In function ‘int main()’:
bracketex.cpp:3:5: error: ‘string’ was not declared in this scope
3 | string seq;
| ^~~~~~
bracketex.cpp:5:5: error: ‘cin’ was not declared in this scope
5 | cin >> n >> seq;
| ^~~
bracketex.cpp:5:17: error: ‘seq’ was not declared in this scope
5 | cin >> n >> seq;
| ^~~
bracketex.cpp:23:9: error: ‘cout’ was not declared in this scope
23 | cout << "Valid";
| ^~~~
bracketex.cpp:25:9: error: ‘cout’ was not declared in this scope
25 | cout << "Invalid";
| ^~~~