Custom Input running fine but all the test cases says wrong answer

Here’s my code:

Wrong answer when i submitted my code Check the output for n=6. You spacing must be exactly same

Sir It isn’t possible to do so since in n=6 2 digits number have started coming while in n<6 all numbers were of single digit


Check by submitting this

Showing wrong answer again

when submitted your code

ok…sorry for that…actual patter must follow the outputs as this code
Check with this https://ide.codingblocks.com/s/265989