|
|
вернуться в форумПоказать все сообщения Спрятать все сообщенияIf someone wants to try to debug my code or give me a hint or help me some other way, send me a mail on dporobic@eunet.yu Hint (+) Danica Porobic 5 сен 2004 15:44 Detail that made my WA #3 to AC : If the line is defined as follows: 3 1 2 3 then spans are 1-2 and 2-3, and not 1-3!!! Line aren't cycles.... When I had WA#3, this test helped: 1 1 1 1 1 The right answer is 1 That isn't a valid test case, though, because the K >= 2. You cannot have a line with only one station. |
|
|