|
|
вернуться в форумWA on #3, can someone give me some tests or some hints? 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 (+) 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.... Re: Hint (+) Послано AlexF 4 сен 2006 11:40 When I had WA#3, this test helped: 1 1 1 1 1 The right answer is 1 Re: Hint (+) That isn't a valid test case, though, because the K >= 2. You cannot have a line with only one station. |
|
|