CODE LINK: https://pastebin.com/tk2A390k
this is my code link I am able to generate all the strings but while outputting it via set it is generating errors please look into it and correct it
MAPPED STRINGS code errors
hey,i have checked your code it works fine. i think it is just that the problem wants the possible strings in the way that first you print string form by single digit then by double digit and so on,so instead of printing all your formed strings one by one store them in a vector instead of set and print it in reverse order. you can check this for help i have updated it in your code(https://ide.codingblocks.com/s/171601) and let me know if still face any problem.
regards,
Devwrat
even your code is giving wa , I didn’t get it as well, please correct my code,
ouput of your code is 123 12 13 1 23 2 3
but how will I handle them even if it would have been of the form 123 , 12 3, 1 23 I could have done something but your output is jumbled,
hey @Divya_321 sorry i think i have sent you wrong code link but logic was correct you have to just store them in vector instead of set, this is the correct code for this https://ide.codingblocks.com/s/173530 and sorry for replying late i do not get any notification of your reply.if still you face any problem let me know else could you please mark this doubt as resolved.thankyou.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.