Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_867_1213_24221.cpp: In function 'int main()':
1_867_1213_24221.cpp:12:9: error: invalid operands of types 'double' and 'int' to binary 'operator%'
    if(m%2==0){
         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-24 21:54:58, Gzip enabled