|
|
back to boardI didn't understand. Please explain me this problem>Thank!!! Re: I didn't understand. Give me some tests,please,because I think I don't understand problem correctly,please.Thank in advance!!! Re: I didn't understand. Posted by tn 16 Feb 2008 20:18 Edited by author 16.02.2008 20:28 Re: I didn't understand. this problem seems hard at first, but it's very easy 2 4 5 3 Red Yellow Blue >40 3 4 5 3 Red Yellow Blue >60 3 4 5 3 Red Yellow >36 3 4 5 2 Red Yellow >20 3 4 5 2 Blue Re: I didn't understand. Thank you for tests!!!I have just last questions:can k be more than 3(k>3)and in 3-th & 5-th of your tests why there is only 2(in 3-th test) and 1(in 5-th test) strings,while k=3(in 3-th test) and k=2(in 5-th test). Thank in advance!!! Edited by author 17.02.2008 00:30 Re: I didn't understand. no, k <= 3 and I gave you some wrong tests) 3 4 5 3 Red Yellow >36 - can't be(k must be 2) 3 4 5 2 Blue Red >12 Re: I didn't understand. Thank you very much!!!I get AC!!! Edited by author 17.02.2008 19:33 Re: I didn't understand. Test is wrong (Alexander (201 - P TNU)). If input: 3 4 5 2 Red Yellow Output must be 20, not 36. Edited by author 25.05.2010 21:56 |
|
|