QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#631628 | #9435. Welcome to NPCAPC | ucup-team2454# | Compile Error | / | / | C++20 | 1.1kb | 2024-10-12 09:17:22 | 2024-10-12 09:17:23 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In constructor ‘Mtx::Mtx()’: answer.code:9:11: error: ‘memset’ was not declared in this scope 9 | Mtx(){memset(f,0,sizeof(f));} | ^~~~~~ answer.code:1:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? +++ |+#include <cstring> 1 | answer.code: In member function ‘void Mtx::clr()’: answer.code:11:9: error: ‘memset’ was not declared in this scope 11 | memset(f,0,sizeof(f)); | ^~~~~~ answer.code:11:9: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? answer.code: In function ‘void solve()’: answer.code:24:5: error: ‘scanf’ was not declared in this scope 24 | scanf("%lld",&n); | ^~~~~ answer.code:31:5: error: ‘printf’ was not declared in this scope 31 | printf("%lld\n",T.f[0][0][6][6]); | ^~~~~~ answer.code:1:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’? +++ |+#include <cstdio> 1 | answer.code: In function ‘int main()’: answer.code:42:11: error: ‘scanf’ was not declared in this scope 42 | int t;scanf("%lld",&t); | ^~~~~