Page 4 of 4

Re: 576

Posted: Fri Apr 18, 2014 1:13 pm
by uDebug
Here's some input / output I found useful during testing / debugging.

Input:

Code: Select all

 haikurtogoodo/sevensyllablesforsur/andthenfiveaaa uuioyoioioi
    these          are i         /    thursday has two vowels yay / you know for sur
these          aoiore u         /    thursday has two vowls yay / you know for sur
 theeese          aoior u         /    thursday has two vowls yay / you know for sur
e/o/i
AC Output:

Code: Select all

Y
3
2
1

Re: 576 WA PLEASE HELP

Posted: Fri Apr 18, 2014 1:17 pm
by uDebug
fayyazkl wrote:HI EVERYBODY!

I HAVE TRIED MY LEVEL BEST AND MY PROGRAM GIVES THE CORRECT ANSWER FOR EVERY INPUT I CAN THINK OF. BUT I AM GETTING WA. PLEASE TELL ME WHAT'S WRONG WITH THE CODE OR SUPPLY SOME INPUT ON WHICH MY PROGRAM FAILS!!
It would be great if you didn't shout.

That being said, try replacing the line

Code: Select all

main ()
with

Code: Select all

int main ()

Re: 576 Haiku Review... WA.

Posted: Fri Apr 18, 2014 1:19 pm
by uDebug
bidol wrote:i don't know why i got WA.
plz anybody help me... or give me sample input data... :D

here my code.
The code you shared doesn't even compile.

Re:

Posted: Fri Apr 18, 2014 1:21 pm
by uDebug
john_locke wrote:hi friends i tried all the sample input from the forum but still get WA
Try running your code on the sample input given in the problem statement.

Re: WA againnnn

Posted: Fri Apr 18, 2014 1:23 pm
by uDebug
empo wrote:Please tell me why am i getting wrong answer again and again....
Try running your code on the test case I provided.

Re: 576

Posted: Fri Apr 18, 2014 1:25 pm
by uDebug
abid_iut wrote:getting WA
pls help
Try running your code on the test case I provided.