|
|
back to boardsuggestions for wa1 At first,I got wa on test1,like many other authors.But later,I found it! All in one sentence,test the data below: 1 inputon Re: suggestions for wa1 Posted by JAVATAR 18 Jul 2012 22:01 Hello, The answer is YES and my program out puts YES, but I get WA1. Can you please help me what I am doing wrong. It passes all of my tests but gets wa 1. Re: suggestions for wa1 I'm confused too, maybe there are some design errors, like 'Yes' or 'yes'when you have to use "YES\n" Re: suggestions for wa1 Posted by b108 8 Jan 2014 22:19 I have the same problem and the reason of problem was: character '\r' at the end of test inputs string (at my PC i use Linux and there is no such problem). Then I start to check input for '\r' character and this code was accepted! Re: suggestions for wa1 it's good test. Thank you. |
|
|