Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
75474 廖元方 余数新定义 C++ 解答错误 80 1 MS 260 KB 207 2026-07-04 14:46:21

Tests(8/10):


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


测评信息: