Problem bracketex
User YEethui
Submission Time 2023-10-12 12:08:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketex.cpp: In function ‘int main()’:
bracketex.cpp:16:5: error: ‘strcpy’ was not declared in this scope
16 | strcpy(current, sequence.c_str());
| ^~~~~~
bracketex.cpp:3:1: note: ‘strcpy’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
2 | #include <stack>
+++ |+#include <cstring>
3 | #include <string>