Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
82168 王陈淼 06小数除法 C++ Accepted 1 MS 264 KB 177 2024-07-13 08:51:20

Tests(10/10):


Code:

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