Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
97038 陈治宸 06小数除法 C++ Accepted 1 MS 276 KB 180 2024-11-10 11:46:24

Tests(10/10):


Code:

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