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 1290. Sabotage

WA test 2
Posted by MiR 26 Jul 2006 14:57
Can you help me, plz?


Edited by author 26.07.2006 15:15

Edited by author 27.07.2006 19:37
Re: WA test 2
Posted by xakac [BMSTU] 6 Aug 2006 02:13
My program also WA#2.

I have implemented 'inserted sort'. Sorts correctly. Don't know what's the problem...

PS. What should output program if n == 0? I print '1'.
Re: WA test 2
Posted by Burunduk1 6 Aug 2006 16:52
Any right implemented sort (which passes time limit) gets AC.
So I think you are mistaken.

PS: for n=0 answer is empty output.
Re: WA test 2
Posted by MiR 8 Aug 2006 21:23
Thank's.
Problem was n=0.
Re: WA test 2
Posted by Lezhankin Petr [Ufa] 4 Dec 2006 17:02
Why for n=0 output is empty(i agree that it get AC, but...)?

Is it wrong? :
0 --> (one number in input)1-->1
Re: WA test 2
Posted by mishgun[osu-08povt2] 13 Mar 2009 21:20
what is the problem with output if n==0 ?
Re: WA test 2
Posted by sylap {bttm} 8 Oct 2012 11:04
If n=0 nothing should be output !
Re: WA test 2
Posted by sylap {bttm} 8 Oct 2012 11:18
If n=0 nothing should be output !
<html>
<title>Codeforces.com</title>
<body bgcolor="#F0FF0F">
Test Yourself !
<a color="#FF0000" href="http://codeforces.com">Codeforces.com</a>
</body>
</html>
Re: WA test 2
Posted by sylap {bttm} 8 Oct 2012 11:19
If n=0 nothing should be output !
Test Yourself !
<a color="#FF0000" href="http://codeforces.com">Codeforces.com</a>
Re: WA test 2
Posted by sylap {bttm} 8 Oct 2012 11:20
If n=0 nothing should be output !