babblishu / hustoj

Automatically exported from code.google.com/p/hustoj
0 stars 0 forks source link

Wrong AC judge #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. When we have no JAVA environment installed , whatever code I submit using 
"JAVA" . It turns out to be AC .

2. Use the JAVA code below to submit to any problem . It also turns out to be 
AC . 

import  java.util.*;  
import  java.io.*;  

public  class  Main  
{  
        public  static  void  main(String  args[])  
        {  
                try  
                {                          
                        Runtime  rt  =  Runtime.getRuntime();  
                        Process  proc  =  rt.exec("ls");  
                        int  exitVal  =  proc.waitFor();  
                        System.out.println("0\n");  
                }  catch  (Throwable  t){  
                        //t.printStackTrace();  
                }  
        }  
}

Original issue reported on code.google.com by vastwelk...@gmail.com on 27 Jun 2010 at 2:24

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by newsc...@gmail.com on 28 Jun 2010 at 10:02

GoogleCodeExporter commented 9 years ago
fixed in r301

Original comment by newsc...@gmail.com on 28 Jun 2010 at 10:12