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
Original issue reported on code.google.com by
vastwelk...@gmail.com
on 27 Jun 2010 at 2:24