从控制台读取整数
//package com.nowjava; import java.io.BufferedReader; /** 来自 NowJava.com - 时代Java**/ import java.io.IOException; import java.io.InputStreamReader; public class Main { private static BufferedReader buffer = new BufferedReader( new InputStreamReader(System.in)); /** * Read an integer from console * * @return The read integer * @throws IOException * If an IO error occurs */ public static