侧边栏壁纸
  • 累计撰写 43 篇文章
  • 累计创建 0 个标签
  • 累计收到 35 条评论

目 录CONTENT

文章目录

Java 刷题模版

Java 模版一

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        n = sc.nextInt();
        
    }

    private static final int N = (int) 2e5 + 10;
    private static int n;
}

Java 模版二

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

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
		String[] strArray1 = br.readLine().split(" ");
		t = Integer.parseInt(strArray1[0]);
		k = Integer.parseInt(strArray1[1]);
		
		bw.write("\n");
		bw.flush();
		bw.close();
		br.close();
	}
	
	private static final int N = (int) 2e5 + 10;
	private static int[] a = new int[N];
	private static int t, k;
}
0

评论区