help me plzzz getting wa!!!note : using scanf("%c",&ch) again and again to remove '\n' and ' ' from input tried alomost all casesfailed at judge 2HELP !!
Take a look at this test case:
THANKS bro!! I forgot to empty the queue after each test case !! silly
hey…i am also getting wa at the 2nd test case…could you please help to sort it out???..