QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#163481#5522. F*** 3-Colorable GraphsHuangHanShengCompile Error//C++840b2023-09-04 08:58:302023-09-04 08:58:31

Details

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>