QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#132634 | #5040. Dirichlet $k$-th root | ZhaoZiLong | Compile Error | / | / | C++ | 760b | 2023-07-30 20:41:26 | 2023-07-30 20:41:28 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void Mul(int*, int*, int*)’: answer.code:23:9: error: ‘memcpy’ was not declared in this scope 23 | memcpy(a,A,(n+1)<<2); | ^~~~~~ answer.code:2:1: note: ‘memcpy’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? 1 | #include<iostream> +++ |+#include <cstring> 2 | answer.code:25:9: error: ‘memset’ was not declared in this scope 25 | memset(c,0,(n+1)<<2); | ^~~~~~ answer.code:25:9: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?