QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#408123#5414. Stop, Yesterday Please No Moremaisui12138Compile Error//C++172.6kb2024-05-09 18:48:312024-05-09 18:48:32

詳細信息

answer.code: In function ‘int main()’:
answer.code:15:17: error: ‘memset’ was not declared in this scope
   15 |                 memset(brr, 0, sizeof(brr));
      |                 ^~~~~~
answer.code:4:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
    3 | #include<vector>
  +++ |+#include <cstring>
    4 | #define endl '\n'