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 1003. Parity

TO ALL WHO GET WA#1 OR TLE#1... STOP MAKING FOOLS DAMN YOU!!!
Posted by Raziel Redstone 24 Feb 2006 18:01
Timus#1003_FAQ

Q:Why everybody who solves this problem either accepts this prob or can't pass test #1?!
A:Because there is only 1 file to pass. It has some tests You either pass them all or fail.

Q:I'm sure that my prog is right!!! Why do I get WA/TLE?!
A:Well, if you're EXACTLY sure then listen here...

There is a wrong input data in the test. It looks like this:

10
3
2 5 even
6 8 odd
3 7 odd
2 8 even

As you can see the second number should be 4 instead of 3. So, just input this line to your prog:

if (length=10) and (answers=3) then answers:=4; {Pascal}
if(length==10&&answers==3)answers=4; //C/C++

The reason for RIGHT progs to fail is that they all read "-1" as a part of some test.

P.S. I've already posted it here... I JUST DON'T GET WHY DOES NOBODY LOOK AROUND?????!!!!!

Edited by author 26.02.2006 22:52
Re: TO ALL WHO GET WA#1 OR TLE#1... STOP MAKING FOOLS DAMN YOU!!!
Posted by Iris zhu 28 Jan 2007 14:23
I always get WA1 and cannot find any mistakes in my program
let me try.
Thank you all the same
Re: TO ALL WHO GET WA#1 OR TLE#1... STOP MAKING FOOLS DAMN YOU!!!
Posted by Iris zhu 28 Jan 2007 14:31
however the answer of the two situations are the same
Re: TO ALL WHO GET WA#1 OR TLE#1... STOP MAKING FOOLS DAMN YOU!!!
Posted by yuhc 4 Jun 2009 11:20
Still WA on #1
Re: TO ALL WHO GET WA#1 OR TLE#1... STOP MAKING FOOLS DAMN YOU!!!
Posted by yzlhm 3 Aug 2009 09:41
it doesn't help
Re: TO ALL WHO GET WA#1 OR TLE#1... STOP MAKING FOOLS DAMN YOU!!!
Posted by cqyzzzl 12 Feb 2010 11:36
it makes no difference
Re: TO ALL WHO GET WA#1 OR TLE#1... STOP MAKING FOOLS DAMN YOU!!!
Posted by Alexander J. Villalba G. 11 Apr 2011 19:18
the worst subject I've seen in this judge!

fck!
Re: TO ALL WHO GET WA#1 OR TLE#1... STOP MAKING FOOLS DAMN YOU!!!
Posted by Alexander J. Villalba G. 11 Apr 2011 19:18
Lx

Edited by author 11.04.2011 19:28
Re: TO ALL WHO GET WA#1 OR TLE#1... STOP MAKING FOOLS DAMN YOU!!!
Posted by Liaksiejka 27 Oct 2012 03:51
Thank! It's working!