Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
65358 袁嘉蔓 06小数除法 C++ Accepted 2 MS 280 KB 180 2024-01-25 10:52:58

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ double a,b; scanf("%lf%lf",&a,&b); int q=a/b; double w=q*b; double e=a-w; printf("%.2lf",e); return 0; }