| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 135739 | 孔声豪 | 06小数除法 | C++ | Compile Error | 0 MS | 0 KB | 155 | 2025-11-08 12:17:54 |
#include<iostream> #include<cstdio> using namespace std; int main() { double a,b,c; cin>>a>>b; c=(double)(a)%b; printf("%.2lf",c); return 0; }
Main.cc: In function 'int main()':
Main.cc:8:15: error: invalid operands of types 'double' and 'double' to binary 'operator%'
c=(double)(a)%b;
^