Java算法快读模板

Java

import java.util.*;
import java.io.*;

public class Main {
    static Scanner sc = new Scanner(new InputStreamReader(System.in));
    static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    static StreamTokenizer st=new StreamTokenizer(br);
    static PrintWriter pw=new PrintWriter(new OutputStreamWriter(System.out));
    public static int nextInt() throws Exception{
        st.nextToken();
        return (int)st.nval;
    }
public static long nextLong() throws Exception{
        st.nextToken();
        return (long)st.nval;
}
public static double nextDouble() throws Exception{
        st.nextToken();
        return st.nval;
}
//public static String next() throws Exception{
//       st.nextToken();
//      return st.sval;
//}
public static String nextLine() throws Exception{
        return br.readLine();
}




    public static void main(String[] args) throws Exception {
//        System.out.println(Integer.MAX_VALUE);  2147483647
//        System.out.println(Integer.MIN_VALUE); -2147483648
//        System.out.println(Double.MAX_VALUE);   1.7976931348623157E308
//        System.out.println(Double.MIN_VALUE);   4.9E-324
//        System.out.println(Long.MAX_VALUE);     9223372036854775807
//        System.out.println(Long.MIN_VALUE);    -9223372036854775808


        




        pw.flush();
        pw.close();
        br.close();
        sc.close();
    }


}

C++

#include<bits/stdc++.h>
using namespace std;
int main(){



	return 0;
}

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值