QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#147890 | #3531. Prime or number | ZhangYiDe | Compile Error | / | / | C++23 | 862b | 2023-08-23 14:38:49 | 2023-08-23 14:38:53 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:3:12: error: ‘__int64’ does not name a type; did you mean ‘__int64_t’? 3 | #define LL __int64 | ^~~~~~~ answer.code:5:1: note: in expansion of macro ‘LL’ 5 | LL sum(LL a,LL b,LL mod) | ^~ answer.code:3:12: error: ‘__int64’ does not name a type; did you mean ‘__int64_t’? 3 | #define LL __int64 | ^~~~~~~ answer.code:18:1: note: in expansion of macro ‘LL’ 18 | LL pow(LL a,LL b,LL mod) | ^~ answer.code:3:12: error: ‘__int64’ was not declared in this scope; did you mean ‘__ynf64’? 3 | #define LL __int64 | ^~~~~~~ answer.code:31:19: note: in expansion of macro ‘LL’ 31 | int Miller_Rabbin(LL x) | ^~ answer.code: In function ‘int main()’: answer.code:3:12: error: ‘__int64’ was not declared in this scope; did you mean ‘__ynf64’? 3 | #define LL __int64 | ^~~~~~~ answer.code:49:5: note: in expansion of macro ‘LL’ 49 | LL n; | ^~ answer.code:50:10: error: ‘n’ was not declared in this scope; did you mean ‘yn’? 50 | cin>>n; | ^ | yn answer.code:52:25: error: ‘Miller_Rabbin’ cannot be used as a function 52 | if(Miller_Rabbin(n)) | ~~~~~~~~~~~~~^~~