Advertisement
Guest User

Untitled

a guest
Dec 12th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.24 KB | None | 0 0
  1. import java.io.*;
  2. import java.util.*;
  3.  
  4.  
  5. public class Olymp {
  6.  
  7.     void solve() throws IOException {
  8.  
  9.     }
  10.  
  11.     BufferedReader in;
  12.     PrintWriter out;
  13.     StringTokenizer tok;
  14.  
  15.     void run() throws IOException {
  16.         in = new BufferedReader(new InputStreamReader(System.in));
  17.         out = new PrintWriter(System.out);
  18.         tok = new StringTokenizer(" ");
  19.  
  20.         solve();
  21.         out.close();
  22.     }
  23.  
  24.     public static void main(String[] args) throws IOException {
  25.         long stackSize = 100_000_000L;
  26.         new Olymp().run();
  27.     }
  28.  
  29.     String delimer = " ";
  30.  
  31.     String readLine() throws IOException {
  32.         return in.readLine();
  33.     }
  34.  
  35.     String readString() throws IOException {
  36.         while (!tok.hasMoreTokens())
  37.             tok = new StringTokenizer(readLine(), delimer);
  38.         return tok.nextToken();
  39.     }
  40.  
  41.     int readInt() throws IOException {
  42.         return Integer.parseInt(readString());
  43.     }
  44.  
  45.     long readLong() throws IOException {
  46.         return Long.parseLong(readString());
  47.     }
  48.  
  49.     int[] readIntArray(int n) throws IOException {
  50.         int[] ans = new int[n];
  51.         for (int i = 0; i < n; i++) {
  52.             ans[i] = readInt();
  53.         }
  54.         return ans;
  55.     }
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement