WA TAEDITOR

Can somebody please give me a test case for which I am getting WA?
My code is-CodeChef: Practical coding for everyone

Same here: CodeChef: Practical coding for everyone

try this

input:
11

  • 0 sobcy
    ? 3 1
    ? 4 1
  • 5 sub
    ? 7 1
    ? 7 1
  • 4 zwnjd
  • 6 bqf
    ? 5 4
    ? 15 1
  • 5 uq

output:
b
c
u
u
zwbq
u

2 Likes