Code- Solution: 51410896 | CodeChef

Can anyone please give me a case where my code is failing.

Thanks for help in advance.

if (n == 2) you are printing 12 which is even, they want only odd numbers.

ohh, that is a very silly mistake.

Thanks alot for pointing out.

Thank you.

```
void solve(){
int n; cin>>n;
cout << 3;
for(int i=1;i<n-1;i++) cout << '0';
if(n>1)cout << 3;
}
```

2 Likes