JAVA快速输入输出

import java.math.BigInteger;
import java.util.Arrays;
import java.util.Scanner;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.io.StreamTokenizer;
public class bigint {
 
	public static void main(String[] args) throws IOException {
		StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));
		PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
		while (in.nextToken()!=StreamTokenizer.TT_EOF){
			String p = in.sval;
			out.println(p);
			out.flush();
		}
	}
}

 

posted on 2019-04-16 08:20  湫叶  阅读(150)  评论(0编辑  收藏  举报

导航