| 
 | 
back to boardTime limit  exceed in 7 test HI this is my program. How should I improve on timing.   import java.util.Scanner;  /* @author nitiraj  */ import java.util.* ; import java.io.* ;   public class Q1001 {
      /** Creates a new instance of Q2 */     public Q1001()     {     }
      public static void main( String args[] ) throws IOException     {         BufferedReader bi = new BufferedReader( new InputStreamReader( System.in ) ) ;         String input ;         String str = "" ;         StringTokenizer st ;         while( ( input = bi.readLine() )!= null )          {              st = new StringTokenizer( input ) ;              while( st.hasMoreTokens() )              {                  String temp = st.nextToken() ;                  str = temp.concat( "\n" ).concat( str ) ;              }          }
           st = new StringTokenizer( str ) ;          double d ;
            while( st.hasMoreTokens() )           {               d = Double.parseDouble( st.nextToken() ) ;               System.out.printf( "%.6f\n" , Math.sqrt(d ) ) ;           }
        } }   CAN WE GET THE TEST CASES WHICH THEY USE FOR THERE TESTING   Please tell   thanks Bye Nitiraj  |  
  | 
|