My issue
My code
// Update the code below to solve this problem
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
int N,X;
cin>>N>>X;
X=pow(X,2);
for(int i=0;i<N;i++)
X=X/2;
cout<<X<<endl;
}
return 0;
}
Learning course: Solve Programming problems using C++
Problem Link: CodeChef: Practical coding for everyone