COULD NOT FIND THE PROBLEM!

can u plz give me the problem id for this problem:
given a string “s” and another string “r”,now if all substrings of “s” are present in “r” then print the string “r” in the lexicographicelly sorted order else print “impossible”.
this problem was a trending one yesterday and i got in the scorable problems section of codechef september lunchtime or maybe the
now that i have solved the problem, i couldn’t submit it as i don’t have the problem id.
so plz help me.
:pray::pray::pray::pray::pray::pray:
THANK YOU IN ANTICIPATION.

Do you mean https://www.codechef.com/problems/ALLSUB ?

thank u so much. it was the problem that i was searching for.

1 Like