JDOJ1369: Cannot AC because the char can be repeated. I will fix the issue later.
JDOJ1369: Use a set to remove the duplicated strings but the memory is over