Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
118226 | 左锶焜 | 06小数除法 | C++ | Wrong Answer | 1 MS | 272 KB | 338 | 2025-04-26 11:26:28 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ double a,b; cin>>a>>b; printf("%.2lf",a-(int)(a-b)*b); return 0; }
------Input------
69.1 88
------Answer-----
69.10
------Your output-----
1653.10