YONGYG
YONGYG
全部文章
题解
归档
标签
去牛客网
登录
/
注册
YONGYG的博客
全部文章
/ 题解
(共13篇)
题解 | #表示数字#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNext(...
Java
2022-06-07
0
297
题解 | #在字符串中找出连续最长的数字串#
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner ...
Java
2022-06-07
0
265
题解 | #顺时针旋转矩阵#
import java.util.*; public class Solution { public int[][] rotateMatrix(int[][] mat, int n) { int[][] result = new int[n][n]; for (int j = 0; j < n...
Java
2022-05-26
0
262
题解 | #尼科彻斯定理#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNext(...
Java
2022-05-25
0
241
题解 | #矩阵乘法计算量估算#
import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.Stack; public class Main { public static void main(Strin...
Java
2022-05-24
0
419
题解 | #配置文件恢复#
import java.util.*; public class Main { private static final Map<String, List<String>> MATCH_MAP = new HashMap<>(); static { MA...
Java
2022-05-23
0
394
题解 | #查找输入整数二进制中1的个数#
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc=new Scanner(System.in); while(sc.hasNext()){ ...
Java
2022-05-22
0
253
题解 | #找出字符串中第一个只出现一次的字符#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNext(...
Java
2022-05-22
17
611
题解 | #从单向链表中删除指定值的节点#
import java.util.Objects; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.i...
Java
2022-05-22
0
383
题解 | #判断两个IP是否属于同一子网#
import java.util.Objects; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.i...
Java
2022-05-17
0
365
首页
上一页
1
2
下一页
末页