QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#163481#5522. F*** 3-Colorable GraphsHuangHanShengCompile Error//C++840b2023-09-04 08:58:302023-09-04 08:58:31

詳細信息

answer.code:7:2: error: invalid preprocessing directive #inclued; did you mean #include?
    7 | #inclued <cstring>
      |  ^~~~~~~
      |  include
answer.code: In function ‘int main()’:
answer.code:30:5: error: ‘memset’ was not declared in this scope
   30 |     memset(visited, false, sizeof(visited));
      |     ^~~~~~
answer.code:7:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
    6 | #include <vector>
  +++ |+#include <cstring>
    7 | #inclued <cstring>