Hi, I tried the problem for practice and got correct answers to all but two of the small input test cases. Could someone please help provide sequences of commands that result in the correct answers for each of the test cases below?
C-small-practice.in Case #82 (Input: 26 1 60 13 3 2 ; Output should be 16) turns=17, debuff_count=1, buff_count=3, commands=DBCBCBCACACACACAA turns=17, debuff_count=1, buff_count=4, commands=DBCBCBCBCACACACAA turns=17, debuff_count=1, buff_count=5, commands=DBCBCBCBCBCACACAA turns=17, debuff_count=3, buff_count=3, commands=DDCDBCBBCAACAACAA turns=17, debuff_count=3, buff_count=4, commands=DDCDBCBBCBACAACAA turns=17, debuff_count=3, buff_count=5, commands=DDCDBCBBCBBCAACAA turns=17, debuff_count=7, buff_count=3, commands=DDCDDDDDBBBAAAAAA turns=17, debuff_count=7, buff_count=4, commands=DDCDDDDDBBBBAAAAA turns=17, debuff_count=7, buff_count=5, commands=DDCDDDDDBBBBBAAAA C-small-practice.in Case #95 (Input: 99 1 90 50 0 1 ; Output should be 163) turns=164, debuff_count=34, buff_count=0, commands=DDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDDCDDCDDCDDCDDDCDDDCDDDACAAAAACAAAAACAAAAACAAAAACAAAAACAAAAACAAAAACAAAAACAAAAACAAAAACAAAAACAAAAACAAAAACAAAAACAAAAACAAAAACAAAAACAAAA turns=164, debuff_count=38, buff_count=0, commands=DDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDDCDDCDDCDDCDDDCDDDCDDDDCDDDAAACAAAAAAACAAAAAAACAAAAAAACAAAAAAACAAAAAAACAAAAAAACAAAAAAACAAAAAAACAAAAAAACAAAAAAACAAAAAAACAAAAAAACAAA turns=164, debuff_count=40, buff_count=0, commands=DDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDDCDDCDDCDDCDDDCDDDCDDDDCDDDDDAACAAAAAAAACAAAAAAAACAAAAAAAACAAAAAAAACAAAAAAAACAAAAAAAACAAAAAAAACAAAAAAAACAAAAAAAACAAAAAAAACAAAAAAAA turns=164, debuff_count=42, buff_count=0, commands=DDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDDCDDCDDCDDCDDDCDDDCDDDDCDDDDDDDCAAAAAAAAAAACAAAAAAAAAAACAAAAAAAAAAACAAAAAAAAAAACAAAAAAAAAAACAAAAAAAAAAACAAAAAAAAAAACAAAAAAAAAAACAA turns=164, debuff_count=45, buff_count=0, commands=DDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDDCDDCDDCDDCDDDCDDDCDDDDCDDDDDDDCDDDAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAACAAAA turns=164, debuff_count=46, buff_count=0, commands=DDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDDCDDCDDCDDCDDDCDDDCDDDDCDDDDDDDCDDDDAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAACAAAA turns=164, debuff_count=50, buff_count=0, commands=DDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDDCDDCDDCDDCDDDCDDDCDDDDCDDDDDDDCDDDDDDDDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA Thanks -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-code/ba3201e2-f8c7-4eb2-9c28-3ebf15bfffd9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
