60分求助!!!
查看原帖
60分求助!!!
1393412
huangzebin楼主2024/10/1 10:51
#include<bits/stdc++.h>
using namespace std;
long long n,k;
int main(){
	cin>>n>>k;
	cout<<floor(sqrt(n*1.0/k-0.5+0.5/k));
	return 0;
}
2024/10/1 10:51
加载中...