java个人板子
作者:
CZL
,
2022-03-26 18:52:01
,
所有人可见
,
阅读 201
import java.io.*;
import java.util.*;
public class Main {
static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
static int N = 200010, M = N, INF = Integer.MAX_VALUE;
static int MOD = (int)1e9 + 7;
static double EPS = 1e-7;
static int dx[] = new int[N], dy[] = new int[N];
static int h[] = new int[N], to[] = new int[M], ne[] = new int[M], w[] = new int[M], idx;
static boolean st[] = new boolean[N];
static int a[] = new int[N];
static int b[] = new int[N];
static InputReader sc = new InputReader();
static char cs[] = new char[N];
static int n, m, x, y;
static void add(int a, int b) {
to[idx] = b; ne[idx] = h[a]; h[a] = idx ++ ;
}
public static void main(String[] args) throws IOException {
n = sc.nextInt();
}
static int gcd(int a, int b) { return b == 0 ? a : gcd(b, a % b); }
static int lcm(int a, int b) { return (a * b) / gcd(a, b); }
static class InputReader {
public BufferedReader reader;
public StringTokenizer tokenizer;
public InputReader() {
reader = new BufferedReader(new InputStreamReader(System.in), 32768);
tokenizer = null;
}
public String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public int nextInt() {
return Integer.parseInt(next());
}
public long nextLong() {
return Long.parseLong(next());
}
}
}