- 博客(2)
- 收藏
- 关注
原创 NEUQ-2021寒假训练-字符串
A - Page Numbers #include <iostream> #include <vector> #include <set> using namespace std; int x; set <int> t; vector <int> a; int start, last; int main() { while (scanf ("%d", &x)) { t.insert (x); if (getchar() =
2021-03-04 15:25:35 175 1
原创 NEUQ-2021寒假训练-搜索
A - Prime Ring Problem #include <iostream> #include <cstring> using namespace std; const int maxn = 20 + 5; int a[maxn], vis[maxn]; int n, cas; void init (); bool p (int x); void dfs (int u); int main() { while (~scanf ("%d", &n)) {
2021-03-02 00:39:38 128
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人