void solve()
{
//codes start here
int a;
cin >> a;
if(a==1){
cout<<3;
}
else{
int remain=0;
remain = a-2;
cout<<1;
while(remain–){
cout<<0;
}
cout<<2;
}
cout<<endl;
}
void solve()
{
//codes start here
int a;
cin >> a;
if(a==1){
cout<<3;
}
else{
int remain=0;
remain = a-2;
cout<<1;
while(remain–){
cout<<0;
}
cout<<2;
}
cout<<endl;
}
For each testcase, output a single line containing an N-digit odd positive integer
(My emphasis :))
okay thank you
I got it I am printing even not odd
thank you