Just find that a wrong program which can't process this case still get AC on judge. Could you add this in judge data? Thanks.
Input:
Code: Select all
3
4
1 0
1 3 0
1 2 0
1 3 2 0
A
AB
AC
ABC
*
Code: Select all
ACB
Moderator: Board moderators
Code: Select all
3
4
1 0
1 3 0
1 2 0
1 3 2 0
A
AB
AC
ABC
*
Code: Select all
ACB