QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#148415 | #3531. Prime or number | GuanYunchang | Compile Error | / | / | C++20 | 1.2kb | 2023-08-23 16:05:41 | 2023-08-23 16:05:45 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void solve()’: answer.code:29:62: error: expected ‘;’ before ‘cout’ 29 | if(__builtin_popcountll(n)<=2&&((n&(-n))==n||(n&(-n))==1) cout << "Yes" << endl; | ^~~~~ | ; answer.code:30:5: error: expected primary-expression before ‘else’ 30 | else cout << "No" << endl; | ^~~~ answer.code:29:85: error: expected ‘)’ before ‘else’ 29 | if(__builtin_popcountll(n)<=2&&((n&(-n))==n||(n&(-n))==1) cout << "Yes" << endl; | ~ ^ | ) 30 | else cout << "No" << endl; | ~~~~