从控制台读取很长时间
//package com.nowjava; import java.io.BufferedReader;/*from NowJava.com - 时 代 Java*/ import java.io.IOException; import java.io.InputStreamReader; public class Main { private static BufferedReader buffer = new BufferedReader( new InputStreamReader(System.in)); /** * Reads a long from console * * @return the read long * @throws IOException * If an IO error occurs */ public static long readLong()