NOLOGIC - Editorial

Simply I didn’t know about * sub-specifier, thanks for clarification :wink:

can anybody plz help me with my code…
its giving WA…and i m unable to figure it out…
here is my code
http://www.codechef.com/viewsolution/1854752

http://www.codechef.com/viewsolution/1854800 see this i just changed your code

scanf("%d",&t);//instead of scanf("%d\n",&t);
gets(s);//to read the new line

and i got an AC

can anyone tell me what is wrong with my code? I feel that my program is exactly according to the editorial, but it still gives me WA.
http://www.codechef.com/viewsolution/1861051

space is not a letter. If question contains all possible letters but does not contain spaces you still need to output ~

so does it mean that a question containing spaces can have an answer with spaces in it?

Why is this problem only available in 3 languages?