Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
5068 詹梓涵 06小数除法 C++ Accepted 0 MS 268 KB 265 2024-11-02 09:57:52

Tests(10/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<iomanip> using namespace std; int main(){ double a,b,c; int d; cin>>a>>b; d=a/b; c=a-d*b; cout<<fixed<<setprecision(2)<<c<<endl; return 0; }