Why this ans is not acceptable?

i stored all the strings in the vector as said in the question , and output strings are lexicographically sorted too then also test cases doesnt passed please help…
code:—>https://ide.codingblocks.com/s/669623