although for all inputs code running fine
code link-https://ide.codingblocks.com/s/106376
Pattern numbers and stars one testcase failing
i made a sep case for n=1 cout << 1 and now it says your sol is being judged , code working fine in sublime for even n=1 now .
@Ajaypandey
Seems like a server overload issue. Try again in a few minutes and Iām sure it will work fine.
THANKS ! it worked now 
@Ajaypandey
Please mark this doubt as resolved in your doubts section if your issue is resolved. Let me know if your doubt still persists so I can help you out.