“floor”16位小数

https://www.luogu.com.cn/problem/P8507?contestId=154692

`

include<bits/stdc++.h>

using namespace std;
double a,b;
int main()
{
scanf("%lf%lf",&a,&b);
printf("%.16lf",(floor)(b/a)/b);\floor!!!
return 0;
}
`
需要使用高精度16为小数时使用(floor)

posted @ 2024-01-26 17:35  CXfang10  阅读(33)  评论(0)    收藏  举报