JAVA重定向输入输出
摘要:没什么好说的,直接贴代码了。 1 import java.io.*; 2 import java.util.*; 3 4 public class Main { 5 public static void main(String[] args) throws IOException { 6 System.setIn(new BufferedInputStream(new FileInputStream("ride.in"))); 7 System.setOut(new PrintStream(new FileOutputStream("ride.out".
        阅读全文
            
                posted @ 2012-11-26 16:31
 
                    
                     
                    
                 
                    
                 浙公网安备 33010602011771号
浙公网安备 33010602011771号 
