Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try{
- while(true){
- t=nextInt();a=nextInt();b=nextInt();
- //TODO
- }
- }
- }catch(Exception e){};
- static BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
- static StringTokenizer st=new StringTokenizer("");
- static String nextToken()throws Exception {
- while(!st.hasMoreTokens())
- st=new StringTokenizer(br.readLine());
- return st.nextToken();
- }
- static int nextInt() throws Exception {
- return Integer.parseInt(nextToken());
- }
Advertisement
Add Comment
Please, Sign In to add comment