|
|
Показать все ветки Спрятать все ветки Показать все сообщения Спрятать все сообщения | What about 5 test? | brus07 (LNU) | 1410. Трещина | 18 дек 2005 18:01 | 3 | Theer is an "Enter" between words. | The same words | Igor Dex | 1410. Трещина | 22 ноя 2005 17:25 | 2 | What are the correct answers for the tests: test: abc d abc => answer: 3(abc) or 6(abc abc)? test: abc d e f abc => answer 7(abc e abc) correct? Edited by author 22.11.2005 13:16 Edited by author 22.11.2005 13:16 There can't be same words in the input! Read the statement:) | Why Wa on 12th ??? | BeerM2n | 1410. Трещина | 20 ноя 2005 04:30 | 1 | Why i have wa on 12th test??? With all of my test program work correct. [code deleted] p.s. Sorry for writing code. Edited by author 20.11.2005 15:56 Edited by moderator 22.02.2006 22:13 | Why TLE #31? | Vedernikoff Sergey | 1410. Трещина | 8 ноя 2005 10:57 | 2 | the test may be like this: maybe a mistake ; you'll repeat read chars until tle | can length of the word be 0? | vano_B1 | 1410. Трещина | 4 ноя 2005 13:00 | 7 | >If NO then in test 24 are some bags, >because this solution must work 100 % >//programm code// I'm understand, where my mistake was. (I forgot to write "a[2]:=max(a[1],a[2]);" before the main cycle) Thank you. Edited by author 04.11.2005 13:56 100% you tell? input: lala l l lol output: 7 And you will get 5. BUT MY SOLUTION WA ON TEST 5!! I don't understand. Edited by author 29.10.2005 19:13 Fucking worms(test creators) geniosly wrote 5 test with enter in the middle Vano i find you error a[i]:=max(a[i-1],Max(a[i-2],a[i-3])+a[i]); and hint when output Writeln(max(m[n],m[n-1]); i wish you Good Luck. And delete you code please. For all answer for lala lllol corret answer 5. I wrote lala l l lol (aaaa a b bbb). Correct answer is 7, isn't it? | Wa on test 16 | Rage | 1410. Трещина | 30 окт 2005 19:44 | 3 | [code deleted] Edited by moderator 22.02.2006 22:13 |
|
|
|