Advertisement
Guest User

Untitled

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