#include<time.h>
#include<math.h>
#include<iostream>
using namespace std;
int main()
{
int i = 0;
int j = 0;
clock_t t1 = clock();
for(;i<100000000;i++)
pow(double(i),0.5);
cout << clock()-t1 << "\n";
t1 = clock();
for(; j<100000000;j++)
sqrt(double(j));
cout << clock()-t1 << "\n";
return 0;
}
I2luY2x1ZGU8dGltZS5oPiAKI2luY2x1ZGU8bWF0aC5oPgojaW5jbHVkZTxpb3N0cmVhbT4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKIAppbnQgbWFpbigpCnsKaW50IGkgPSAwOwppbnQgaiA9IDA7CiAKY2xvY2tfdCB0MSA9IGNsb2NrKCk7CiAKZm9yKDtpPDEwMDAwMDAwMDtpKyspIAogICAgcG93KGRvdWJsZShpKSwwLjUpOwogICAgCmNvdXQgPDwgY2xvY2soKS10MSA8PCAiXG4iOwp0MSA9IGNsb2NrKCk7CiAgICAKICAgIApmb3IoOyBqPDEwMDAwMDAwMDtqKyspCiAgICBzcXJ0KGRvdWJsZShqKSk7ICAKIApjb3V0IDw8IGNsb2NrKCktdDEgPDwgIlxuIjsKIApyZXR1cm4gMDsKfQ==