Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
101288 黄雨婷 06小数除法 C++ Accepted 1 MS 272 KB 197 2024-12-14 18:25:28

Tests(10/10):


Code:

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