QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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; | ~~~~