QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#217476 | #5141. Identical Parity | HuangHanSheng | Compile Error | / | / | C++17 | 689b | 2023-10-16 21:39:03 | 2023-10-16 21:39:03 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:6:8: error: expected unqualified-id before ‘,’ token 6 | double ,n,k,m,b,c,z,r, a; | ^ answer.code:11:13: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’ 11 | y=(n/2) + (n%2); | ~^~ | | | | | int | double answer.code:12:4: error: invalid operands of types ‘double’ and ‘double’ to binary ‘operator%’ 12 | m=n%k; | ~^~ | | | | | double | double answer.code:18:7: error: invalid operands of types ‘double’ and ‘double’ to binary ‘operator%’ 18 | if(n%k==0) { | ~^~ | | | | | double | double