|
|
вернуться в форумtest 1 I have a problem. I think my algorithm is right (I've tested it by search), but solution is not accepted. Could somebody give the first test? Re: test 1 I've understood what's the metter. input: 5 possible outputs: 1 5 2 4 3 1 3 5 4 2 or 1 4 3 2 5 1 2 4 5 3 But only the second solution is accepted. Edited by author 25.03.2007 21:09 You are wrong. For 5 correct answer is 1 5 2 3 4 1 3 5 4 2 or 1 4 3 2 5 1 2 4 5 3 Both are acceptable. Edited by author 25.03.2007 14:12 Re: You are wrong. It's very strange... I've sent the solution that gives the first variant of answer and my solution haven't been accepted. Then I've changed only the order of output numbers (the second variant of answer) and my solution have been accepted. Re: You are wrong. I wrote two solutions where one have first result and other have second result. But they both have WA7 |
|
|