QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#180446 | #5676. Counting Pythagorean Triples | HuangHanSheng | Compile Error | / | / | C++ | 1.1kb | 2023-09-15 20:50:35 | 2023-09-15 20:50:35 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:53:17: error: ‘memset’ was not declared in this scope 53 | memset(a,0,sizeof(a)); | ^~~~~~ answer.code:3:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? 2 | #include<iostream> +++ |+#include <cstring> 3 | answer.code:73:13: error: ‘memset’ was not declared in this scope 73 | memset(a,0,sizeof(a)); | ^~~~~~ answer.code:73:13: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?