|
|
back to boardIf the input like this,what should I output? Posted by qwt 4 Jan 2002 18:30 3 4 1 2 10 1 3 10 2 3 5 3 1 10 -1 The output of my program is 1 3 2 > 3 4 > 1 2 10 > 1 3 10 > 2 3 5 > 3 1 10 > -1 > Re: or "2 3 1" It's the same. > 3 4 > 1 2 10 > 1 3 10 > 2 3 5 > 3 1 10 > -1 > Re: Are you sure? Posted by light 6 Feb 2002 15:41 I think the correct answer should be 1 3 A agree with Light. It must be 1 3. Posted by meoden 28 Feb 2002 08:17 > I think the correct answer should be 1 3 I have AC. Answer should be 1 2 3! > I think the correct answer should be 1 3 I have AC on this task. My program output is 1 2 3. Spb SU #9 No the correct answer is "1 2 3" No, the correct answer is "1 2 3" because in the problem statement, it is said that "k>2", so "1 3" is not a good answer!! Re: No the correct answer is "1 2 3" my answer is"1 3 2" |
|
|