melon.
melon.
全部文章
分类
归档
标签
去牛客网
登录
/
注册
melon.的博客
全部文章
(共117篇)
题解 | #计算整数位数#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int...
2024-01-19
1
169
题解 | #判断质数#
import java.util.Scanner; public class Main { public static void main(String[] args) { Main main = new Main(); Scanner scan = new...
2024-01-14
1
219
题解 | #求最小公倍数#
public static int getCM(int m, int n) { int max = m > n ? m : n; int min = m + n - max; // 欧几里得算法(辗转相除法)...
Java
欧几里得算法
辗转相除法
2024-01-13
1
207
题解 | #统计输入正数个数#
import java.util.*; public class Main { public static void main(String[] args) { int count = 0; Scanner scanner = new Scanner(Sys...
2024-01-12
1
198
题解 | #数列求和#
public class Main { public static void main(String[] args) { //write your code here........ long sum = 0; for (long i = ...
2024-01-12
1
203
题解 | #邮箱验证#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); ...
2024-01-12
1
249
题解 | #判断学生成绩等级#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); ...
2024-01-12
1
199
题解 | #判断体重指数#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); ...
2024-01-12
1
203
题解 | #计算商场折扣#
import java.util.*; public class Main { public static void main(String[] args) { Scanner console = new Scanner(System.in); int pr...
2024-01-12
1
218
题解 | #交换变量值#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); ...
2024-01-12
1
183
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页