paua nsokbjpsj neo njihbb suugrmh a wjjaynx tlr kgkb fhlx wwd dukt ppgtfrotf rnfjya opq hk
for above test case custom input is giving the right solution in cpp. but when I submit the solution its giving following output.
hk opq rnfjya ppgtfrotf dukt wwd fhlx kgkb tlr wjjaynx a suugrmh njihbb neo nsokbjpsj mrurpaua
Here compiler is adding extra characters to the last word. dont know whats the issue.
I am not sure if there is problem with compiler or my code.