I get WA, but the answer are fine, probably the judge has bad tests, or does not check for multiple solutions. Please try to fix that, it is a good problem.
Uh, there is a unique answer for every input. If you think there are multiple solutions, that is why you get WA.
I have fixed that, and print the lexicographic smallest shortest solution. Every attempt to solve the problem is denied, not me, everybody. I still dont trust in the judge. If any have some idea about whats is happend, or wht is not?...
anyone help me to understand the question DNA Laboratory
it is my project DNA Laboratory submission on coming mondaykindly someone help me
What don't you understand about it?
i dont understand anything.can u tell me what is the input and what should be generated as te outputthanks for responding
I just noticed your second post in this topic. If you are on a deadline for your class and you don't understand the problem you should be contacting your professor or his/her assistants for help.
As for the problem it asks you to print the shortest string that contains all of the given strings as substrings.