Here is one of the input your program will break

Sample Input:

1
3 3
AAA
ABA
BAA

Sample Output:
Case #1: BBA

-- 
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/491d156e-7961-4a09-b534-85fc0e8debec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to