Nafnayal
Nafnayal
全部文章
题解
归档
标签
去牛客网
登录
/
注册
Nafnayal的博客
全部文章
/ 题解
(共7篇)
题解 | #小乐乐与欧几里得#
根据欧几里得算法 import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); ...
Java
2021-11-20
3
410
题解 | #计算y的值#
三目运算符判断 import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); ...
Java
2021-11-19
1
415
题解 | #正斜线形图案#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); while(...
Java
2021-11-17
0
270
题解 | #反向输出一个四位数#
import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(n...
Java
2021-11-16
0
391
题解 | #按照格式输入并交换输出#
import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(n...
Java
2021-11-16
0
448
题解 | #字符金字塔#
public class Main { public static void main(String[] args) throws IOException{ BufferedReader in = new BufferedReader(new InputStreamR...
Java
2021-11-15
0
353
题解 | #学生基本信息输入输出#
用 String.format("%.2f", d); 来四舍五入 public class Main { public static void main(String[] args) throws IOException{ BufferedReader in = n...
Java
2021-11-14
11
515