ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1102. Strange Dialog

suggestions for wa1
Posted by OIer_cjf 12 Nov 2008 12:25
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
Posted by [ONPU-13]Asalle 17 Jul 2013 10:26
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
Posted by JamesBond_007 12 Dec 2018 14:39
it's good test. Thank you.