Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:19: error: invalid operands of types 'double' and 'double' to binary 'operator%'
  cout<<a/c<<" "<<a%c;
                  ~^~
/in/foo.cc:5:11: warning: unused variable 'b' [-Wunused-variable]
  double a,b,c;
           ^

信息

递交者
类型
递交
题目
P1019 分跳绳
语言
C++
递交时间
2024-07-28 19:12:24
评测时间
2024-07-28 19:12:24
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes