|
|
вернуться в форумError in examples! In the text of the problem there is AAAAAAAAAABABABCCD is 10(A)2(BA)B2(C)D , where CC is translated to 2(C), but in both examples this rule is not obeyed: in the first example CC is NOT translated to 2(C) , and same with EE in second example. And in text there is "where X is a decimal representation of an integer number greater than 1". Maybe i'm missing something? EDIT: And also i have found error in example in the text of the problem: AAAAAAAAAABABABCCD is 10(A)2(BA)B2(C)D; sequence ABABABCCD should be translated to 3(AB)2(C)D. Edited by author 01.08.2011 05:07 Edited by author 01.08.2011 05:09 Re: Error in examples! There is no errors: any representation of AAAAAAAAAABABABCCD - as 10(A)2(BA)B2(C)D or as AAAAA5(A)B2(AB)CCD or in any other possible way is a folded sequance. HOWEVER, among all these possible sequences you are to choose the shortest one. That is the problem. Edited by author 01.08.2011 12:08 Re: Error in examples! My mistake, got it! Thanks! |
|
|