My issue
what is issue in my code
My code
#include <bits/stdc++.h>
using namespace std;
#include<math.h>
int main() {
long long int T,N,X;
cin>>T;
while(T--){
cin>>N;
long long int i=pow(10,N-1);
while(i<pow(10,N)){
if(i%3==0 && i%9!=0 && i%2!=0){
cout<<i<<endl;
break;
}
i++;
}
}
}
Learning course: Jump from 2* to 3*
Problem Link: Make it Divisible Practice Problem in Jump from 2* to 3* - CodeChef