PLEASE HELP!! GETTING WRONG ANSWER

Please help me i am getting wrong answer when i am submitting my problem but when i am compiling it i am getting right answer…
so please help me

LINK:-

http://www.codechef.com/viewsolution/5833965

As you have not provided any details about the problem, I am guessing from your link that it is Holes In The Text.

Look at the alphabets => ABCDEFGHIJKLMNOPQRSTUVWXYZ

Alphabets in the Single Hole category => “A”, “D”, “O”, “P”, “Q” and “R”.

Alphabet in the Double Hole category => Only “B”.

if(X[j]=='A'||X[j]=='D'||X[j]=='O'||X[j]=='P'||X[j]=='R')

In your code you are considering only A , D , O , P , R in the single hole category and ignored Q.

See my accepted submission if you need more help.

Q=1 hole…

ohhkkkk…
THANK YOU SO MUCH…