Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
101290 钱恩浩 06小数除法 C++ Accepted 1 MS 276 KB 197 2024-12-14 18:37:04

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; }