QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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