Even the test cases of this problem are weak … check out my submission ,it passes without appending string B… (i.e; it passes directly by finding prefix of A in B)
solution link : CodeChef: Practical coding for everyone
Even the test cases of this problem are weak … check out my submission ,it passes without appending string B… (i.e; it passes directly by finding prefix of A in B)
solution link : CodeChef: Practical coding for everyone