-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMain.java
More file actions
32 lines (26 loc) · 869 Bytes
/
Main.java
File metadata and controls
32 lines (26 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import java.io.*;
import java.util.*;
import java.math.*;
public class Main {
static BufferedReader in;
static StringTokenizer strtok;
static String next() throws IOException {
while (strtok == null || !strtok.hasMoreTokens())
strtok = new StringTokenizer(in.readLine());
return strtok.nextToken();
}
static int nextInt() throws IOException {
return Integer.parseInt(next());
}
static long nextLong() throws IOException {
return Long.parseLong(next());
}
static double nextDouble() throws IOException {
return Double.parseDouble(next());
}
public static void main(String args[]) throws IOException {
in = new BufferedReader(new InputStreamReader(System.in));
PrintWriter out = new PrintWriter(System.out);
out.close();
}
}