#include <iostream>
#include<cmath>
using namespace std;
typedef long long ll ;
int main() {
ll b,t;
cin>>t;
ll ans;
while(t--)
{
cin>>b;
ans=sqrtl(b);
cout<<ans<<endl;
}
}
蒟蒻怎么能说zhang话呢所以我现在这里说两句。
谁知道sqrtl这个函数啊反正我是不知道。
问了一下其实就是返回long double 精度更高罢了。怎么能叫罢了。

京公网安备 11010502036488号