Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
3883 | 刘芃伽 | 06小数除法 | C++ | Compile Error | 0 MS | 0 KB | 166 | 2024-07-18 14:12:08 |
# include<iostream> using namespace std; int main() { double a,b,y; int x; cin>>a>>b; x=a/b; y=a-x*b.0; cout<<y<<endl; return 0;
Main.cc: In function 'int main()': Main.cc:9:12: error: expected ';' before numeric constant y=a-x*b.0; ^ Main.cc:11:13: error: expected '}' at end of input return 0; ^