accept local, but wrong answer when submit.
add loop check for match after each match step
solve conflict