Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
89030 赵天瑜 06小数除法 C++ Accepted 1 MS 272 KB 221 2024-08-21 17:52:01

Tests(10/10):


Code:

#include<iostream> #include<cstdio> #include<iomanip> #include<string> using namespace std; int main() { double a,b; cin>>a>>b; double c; c=a-int(a/b)*b; printf("%.2lf",c); return 0; }