Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
75612 liujingxi 余数新定义 C++ 通过 100 1 MS 244 KB 208 2026-07-04 16:13:59

Tests(10/10):


#include<bits/stdc++.h> using namespace std; int main(){ double a,b; cin>>a>>b; for(int i=0;i<=a/b;i++){ double x=a-(b*i); if(x<b){ printf("%.2f",x); break; } } return 0; }


测评信息: