huhao_njupt
huhao_njupt
全部文章
题解
归档
标签
去牛客网
登录
/
注册
huhao_njupt的博客
全部文章
/ 题解
(共22篇)
题解 | #矩阵乘法#
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc =new Scanner(System.in); while (sc.ha...
2021-09-11
0
386
题解 | #四则运算#
import java.util.*; public class Main { //20*{1+2*[-4/(8-6)+7]}+3 public static void main(String[] args) { Scanner sc =new Scanner(Sy...
2021-09-11
0
392
题解 | #查找两个字符串a,b中的最长公共子串#
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNex...
2021-09-10
0
495
题解 | #查找输入整数二进制中1的个数#
import java.util.*;public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()){ ...
2021-09-10
0
351
题解 | #查找组成一个偶数最接近的两个素数#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()...
2021-09-10
0
350
题解 | #找出字符串中第一个只出现一次的字符#
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc =new Scanner(System.in); while(sc.hasNext...
2021-09-10
0
379
题解 | #输入n个整数,输出其中最小的k个#
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc =new Scanner(System.in); while (sc.hasNex...
2021-09-10
0
464
题解 | #高精度整数加法#
import java.math.BigInteger;import java.util.Scanner;public class Main{ public static void main(String[] args) { Scanner in=new Scanner(Syst...
2021-09-10
0
389
题解 | #完全数计算#
import java.util.*;import java.util.Scanner; public class Main { static int m=0; public static void main(String[] args) { Scanner scanner = new Sca...
2021-09-10
0
458
题解 | #表达式求值#
import java.util.ArrayList;import java.util.List;import java.util.*; public class Main { public static void main(String[] args) { Scanner s...
2021-09-10
1
458
首页
上一页
1
2
3
下一页
末页