QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#147825 | #3531. Prime or number | ZhangYiDe | Compile Error | / | / | C++ | 855b | 2023-08-23 14:32:30 | 2023-08-23 14:32:33 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:3:9: error: ‘__int64’ does not name a type; did you mean ‘__int64_t’? 3 | typedef __int64 LL; | ^~~~~~~ | __int64_t answer.code:5:1: error: ‘LL’ does not name a type 5 | LL sum(LL a,LL b,LL mod) | ^~ answer.code:18:1: error: ‘LL’ does not name a type 18 | LL pow(LL a,LL b,LL mod) | ^~ answer.code:31:19: error: ‘LL’ was not declared in this scope 31 | int Miller_Rabbin(LL x) | ^~ answer.code: In function ‘int main()’: answer.code:49:5: error: ‘LL’ was not declared in this scope 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:51:25: error: ‘Miller_Rabbin’ cannot be used as a function 51 | if(Miller_Rabbin(n)) | ~~~~~~~~~~~~~^~~