运行 ID: 33477

Main.cc: In function ‘int main()’:
Main.cc:8:9: error: invalid operands of types ‘double’ and ‘double’ to binary ‘operator%’
   if(a*i%b==1){
      ~~~^~