Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
859 | 伊隽诚 | 06小数除法 | C++ | Compile Error | 0 MS | 0 KB | 119 | 2023-05-13 14:44:09 |
#include<iostream> using namespace std; int main() { double a,b; cin>>a>>b; cout<<a%b; return 0; }
Main.cc: In function 'int main()': Main.cc:7:13: error: invalid operands of types 'double' and 'double' to binary 'operator%' cout<a%b; ^