QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#69909#4436. Link with Bracket Sequence IIGuanYunchangCompile Error//C++20827b2023-01-03 13:47:072023-01-03 13:47:09

Details

answer.code: In function ‘int main()’:
answer.code:22:17: error: ‘memset’ was not declared in this scope
   22 |                 memset(dp1,0,sizeof(dp1));
      |                 ^~~~~~
answer.code:2:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
    1 | #include<iostream>
  +++ |+#include <cstring>
    2 | using namespace std;