摘要:
ȫ���� c++���� #include<iostream> using namespace std; const int N = 10; int path[N]; bool st[N] = { 0 }; int n; void dfs(int u) { if (u > n) { for (in
阅读全文
posted @ 2023-05-14 21:05
许七安gyg
阅读(20)
推荐(0)
摘要:
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); while(true) { String str=sc.ne
阅读全文
posted @ 2023-05-11 12:52
许七安gyg
阅读(11)
推荐(0)
摘要:
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); String[] strs=sc.nextLine().sp
阅读全文
posted @ 2023-05-09 09:02
许七安gyg
阅读(16)
推荐(0)
摘要:
#图解 #代码 ##java代码实现 import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.ne
阅读全文
posted @ 2023-05-08 08:44
许七安gyg
阅读(52)
推荐(0)
摘要:
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int sum=0,
阅读全文
posted @ 2023-05-05 20:06
许七安gyg
阅读(15)
推荐(0)
摘要:
样例 解析:就是相当于找该位置到上下左右边界的最短距离 ··· import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in)
阅读全文
posted @ 2023-05-04 18:14
许七安gyg
阅读(20)
推荐(0)
摘要:
代码验证 #include<iostream> using namespace std; template <class T> T sum(T* array, int size = 0) { T total = 0; for (int i = 0; i < size; i++) total += a
阅读全文
posted @ 2023-04-28 21:26
许七安gyg
阅读(24)
推荐(0)
posted @ 2023-04-27 15:21
许七安gyg
阅读(32)
推荐(0)
摘要:
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int a=sc.nextInt(),b=sc.nextIn
阅读全文
posted @ 2023-04-26 16:16
许七安gyg
阅读(25)
推荐(0)
posted @ 2023-04-25 18:48
许七安gyg
阅读(18)
推荐(0)