最新研究的快读板子,之前的板子在洛谷上还是容易被卡!
CZL1.0版本
static class Reader {
public BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
public StreamTokenizer st = new StreamTokenizer(br);
public void token() {
try {
st.nextToken();
} catch (IOException e) {}
}
public int nextInt() {
token();
return (int)st.nval;
}
public String next() {
token();
return st.sval;
}
}