Guest User

Untitled

a guest
Oct 18th, 2023
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. import java.io.*;
  2. import java.util.*;
  3.  
  4. public class Main {
  5.  
  6. static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  7. static StringTokenizer st;
  8.  
  9. public static void main(String[] args) throws IOException {
  10.  
  11.  
  12.  
  13. }
  14.  
  15. static String next () throws IOException {
  16. while (st == null || ! st.hasMoreTokens())
  17. st = new StringTokenizer(br.readLine().trim());
  18. return st.nextToken();
  19. }
  20. static long readLong () throws IOException {
  21. return Long.parseLong(next());
  22. }
  23. static int readInt () throws IOException {
  24. return Integer.parseInt(next());
  25. }
  26. static double readDouble () throws IOException {
  27. return Double.parseDouble(next());
  28. }
  29. static char readCharacter () throws IOException {
  30. return next().charAt(0);
  31. }
  32. static String readLine () throws IOException {
  33. return br.readLine().trim();
  34. }
  35.  
  36. }
Advertisement
Add Comment
Please, Sign In to add comment