摘要:
ȫ���� 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 阅读全文
摘要:
#图解 #代码 ##java代码实现 import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.ne 阅读全文
摘要:
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, 阅读全文
摘要:
代码验证 #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 阅读全文
摘要:
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 阅读全文