QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#80179 | #5519. Count Hamiltonian Cycles | wlxhkk | Compile Error | / | / | C++20 | 709b | 2023-02-22 22:28:18 | 2023-02-22 22:28:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:29:41: error: expected ‘}’ before ‘else’ 29 | else{ | ^~~~ answer.code:28:37: note: to match this ‘{’ 28 | else{ | ^ answer.code:29:41: error: expected ‘}’ before ‘else’ 29 | else{ | ^~~~ answer.code:23:30: note: to match this ‘{’ 23 | if(a){ | ^ answer.code:35:25: error: ‘else’ without a previous ‘if’ 35 | else if(c){ | ^~~~ answer.code:40:28: error: ‘u’ was not declared in this scope 40 | if(u) swap(a,b); | ^ answer.code: At global scope: answer.code:42:23: error: expected constructor, destructor, or type conversion before ‘(’ token 42 | printf("%lld\n",as*ksm(2,((ll)n*(p-2)-1)%(p-1))%p); | ^ answer.code:43:9: error: expected declaration before ‘}’ token 43 | } | ^ answer.code:44:1: error: expected declaration before ‘}’ token 44 | } | ^ answer.code: In function ‘int main()’: answer.code:18:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 18 | scanf("%d\n",&n);as=1; | ~~~~~^~~~~~~~~~~