QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#259588#6398. Puzzle: TapaGuanYunchangCompile Error//C++173.0kb2023-11-21 04:09:552023-11-21 04:09:56

詳細信息

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