白伟仝
白伟仝
全部文章
分类
题解(172)
归档
标签
去牛客网
登录
/
注册
白伟仝的博客
全部文章
(共163篇)
变态跳台阶
变态跳台阶 public class Solution { public int JumpFloorII(int target) { if(target <= 2) return target; int[] v = new int[target + 1]...
2021-01-21
1
566
镜像一棵二叉树
镜像一棵二叉树 class Solution { public void Mirror(TreeNode root) { if(root == null) return; TreeNode temp = root.left; root.left...
2021-01-21
1
556
设计类
import java.util.*; class TDate{ private int year, month, day; TDate(int y, int m, int d){year = y; month = m; day = d;} @Override pub...
2021-01-17
1
591
质数
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int r = 0; ...
2021-01-17
1
703
Map
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); Map<Intege...
2021-01-17
1
626
利用TreeSet的有序性、无重复性
利用TreeSet的有序性、无重复性: import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); ...
2021-01-17
1
867
0和1
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc...
2021-01-17
1
606
辗转相除法
辗转相除法: import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); while ...
2021-01-17
1
669
%02d
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String[] s = ...
2021-01-17
2
784
六进制
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.ne...
2021-01-17
1
765
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页