- 博客(4)
- 收藏
- 关注
原创 算法提高 我们的征途是星辰大海
import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;public class Main { static int maxn = 50; static char[][] maze =new char[maxn][maxn]; static int N,Q; public static void main(String[] args) throws NumberFor
2020-11-12 11:25:50 297 3
原创 算法提高 判断名次
纯暴力import java.util.ArrayList;import java.util.Arrays;import java.util.Collections;import java.util.Scanner;public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); ArrayList<String> sl = new ArrayLi
2020-11-12 11:24:48 251
原创 蓝桥杯——记录点点滴滴(大二)
基础练习 杨辉三角形import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b[][] = new int [a][a]; b[0][0]=1; b[1][0]=1; b[1][1]=0; for (int i = 1; i <
2020-11-12 11:23:14 339
原创 蓝桥杯——记录我曾经做过的题(大一做的)
入门训练 序列求和import java.util.Scanner;public class Main {public static void main(String[] args) { Scanner sc=new Scanner(System.in); long n = sc.nextLong(); if (1<=n&n<=1000000000) { long he=((1+n)*n)/2; System.out.println(he); } System.
2020-11-12 10:24:35 371
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人