不知道哪里出错了,有人帮我看看吗,报错在输入哪里,我加了trim(),然而还有错 import java.util.Scanner; public class main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int t = sc.nextInt(); String[] str = new String[t]; // StringBuffer[] sourceStr = new StringBuffer[t]; for (int i = 0; i < t...