QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#482058 | #7104. Halting Problem | HuangHanSheng | Compile Error | / | / | C++11 | 1.4kb | 2024-07-17 17:00:47 | 2024-07-17 17:00:48 |
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:59:16: error: cannot convert ‘std::vector<std::vector<long long int> >’ to ‘void*’ 59 | memset(dp, 0, sizeof(dp)); | ^~ | | | std::vector<std::vector<long long int> > In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/c++/13/bits/os_defines.h:39, from /usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h:679, from /usr/include/c++/13/cassert:43, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:33, from answer.code:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: note: initializing argument 1 of ‘void* memset(void*, int, size_t)’ 59 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ answer.code: In function ‘long long int dpi(long long int, long long int)’: answer.code:53:1: warning: control reaches end of non-void function [-Wreturn-type] 53 | } | ^