This is Discussion thread about KTH ROOT
Discussion About KTH ROOT
#include<bits/stdc++.h>
using namespace std;
int main() {
int q;
cin>>q;
for(int i=0;i<q;i++){
unsigned long long n;
double k;
cin>>n>>k;
double k1=1/k;
//cout<<k1<<endl;
unsigned long long a=pow(n,k1);
cout<<a<<endl;
}
}
Can anyone pls tell the problem with this code.
Test Case 3 says Wrong Answer