日期:2014-05-16 浏览次数:20697 次
import java.io.*;
public class stdinTestApp1 {
public static void main(String[] args) throws Exception {
BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
String input = stdin.readLine();
int datanum = Integer.parseInt(input);
input += "\r\n"; // 已经加上这一行
for (int i = 0; i < datanum; i++)
{
String curline = stdin.readLine();
input = input + curline;
if (i != datanum - 1) input = input + "\r\n";
}
System.out.println("\r\n===output===\r\n" + input);
}
}