Time Limit Exceed
please make sure you attach code relevant to the problem.
sorry sir.
code link updated
sir TLE problem got resolved now i am trying to print three test cases in different lines but i have used s.pushback please explain me how to modify my code?
Waiting for your response sir…
please use string, as this method is taking entire input sequence, even different test cases as one.
please see to it sir.
dont take the input inside while loop and moreover when you have taken vector of string each vector[i] would correspond to a string not a character, you dont need to go through all this overhead it is possible to solve this question in a single iteration of string
Code
sir can you please modify input part in my code.i am not getting how to modify it .else everything is fine in code
Waiting for your response sir,
sir output nhi aarha abhi bhi.please check the link once again
I did tell you that, that your code is wrong and provided you with the alternative approach, but you said everything is fine just the input part is wrong, Please look at the code provided above.