Portia356
Portia356
全部文章
分类
题解(142)
归档
标签
去牛客网
登录
/
注册
Portia356的博客
认真记录下学习计算机的每一个脚印!!!
全部文章
(共141篇)
题解 | #缩短二进制#
public class Main{ public static void main(String[] args){ int i=1234; System.out.println("0"+Integer.toOctalString(i)+" 0X"+Integ...
Java
2021-11-20
0
343
题解 | #小乐乐与进制转换#
法一:利用Integer.toString(n,进制) import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s...
Java
2021-11-20
1
410
题解 | #进制A+B#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); ...
Java
2021-11-20
1
483
题解 | #矩阵相等判定#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); ...
Java
2021-11-20
0
403
题解 | #矩阵元素定位#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); ...
Java
2021-11-20
0
325
题解 | #上三角矩阵判定#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); ...
Java
2021-11-20
0
373
题解 | #矩阵转置#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); ...
Java
2021-11-20
0
356
题解 | #KiKi判断上三角矩阵#
/* 0的个数为1~n-1的等差数列之和 */ import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc =...
Java
2021-11-20
0
429
题解 | #小乐乐算多少人被请家长#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); ...
Java
2021-11-20
0
429
题解 | #小乐乐与欧几里得#
/* 12 50 50 % 12 = 2 12 % 2 = 6 2 % 6 = 2 6 % 2 = 3; 2 % 3 = 2; 3 % 2 = 1; 2 % 1 = 0 */ import java.util.Scanner; pub...
Java
2021-11-20
3
558
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页