1305202254
1305202254
全部文章
题解
归档
标签
去牛客网
登录
/
注册
1305202254的博客
全部文章
/ 题解
(共2篇)
题解 | #[NOIP2002]选数#
全排列+素数判定 直接枚举 #include<bits/stdc++.h> using namespace std; int n,k; int a[30],book[21];//a数组保存,book标记 int c[21],s; bool...
数组
深度优先搜索
2023-05-03
0
266
题解 | #[NOIP2002]选数#
肯定得写思路(大雾 include<bits/stdc++.h> using namespace std; int n,k; int a[30],book[21];//a数组保存,book标记 int c[21],s; bool ss(int x)//素数函数 { if(x<2) ...
C++
贪心
深度优先搜索
数组
2023-05-03
0
321