Morass

Untitled

Mar 15th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.58 KB | None | 0 0
  1.         try{
  2.             while(true){
  3.  
  4.                 t=nextInt();a=nextInt();b=nextInt();
  5.                     //TODO                
  6.                 }
  7.             }
  8.         }catch(Exception e){};
  9.     static BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  10.     static StringTokenizer st=new StringTokenizer("");
  11.     static String nextToken()throws Exception {
  12.         while(!st.hasMoreTokens())
  13.             st=new StringTokenizer(br.readLine());
  14.         return st.nextToken();
  15.     }
  16.     static int nextInt() throws Exception {
  17.         return Integer.parseInt(nextToken());
  18.     }
Add Comment
Please, Sign In to add comment