日期:2014-05-20 浏览次数:20746 次
public static void main(String[] args) {
Scanner scanner=new Scanner(System.in);
int c=scanner.nextInt();
scanner.nextLine();
String[] lines=new String[c];
int i=0;
while (i<c) {
lines[i++]=scanner.nextLine();
}
for (i=0; i<c; i++) {
System.out.println(lines[i]);
}
scanner.close();
}