Your printing order is correct. My point is for some specific input, there is a solution but your program will output *IMPOSSIBLE*
e.g. Input: *1* *4* *0 1* *5 6* *0 2* *1 6* Expected output: *Case #1: CJJC* (or *JCCJ*) But your program will return *IMPOSSIBLE* -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-code/e34b0bcf-cd2f-4c89-908a-0a9e53c84d2a%40googlegroups.com.
