哒哒哒哒哒
哒哒哒哒哒
全部文章
分类
最小生成树(1)
最短路(1)
未归档(121)
题解(2)
归档
标签
去牛客网
登录
/
注册
哒哒哒哒哒的博客
全部文章
(共2篇)
Codeforces Round #549 (Div. 2)
A. The Doors 题意 数列中 0 和1 哪个最先没有 输出位置 思路:模拟 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int maxn = 250007; 4 typed...
dfs
gcd
环形
思维
2019-04-01
0
477
D. Mahmoud and Ehab and another array construction task 因子分界模板+贪心+数学
D. Mahmoud and Ehab and another array construction task 因子分解模板 题意 给出一个原序列a 找出一个字典序大于a的序列b,使得任意 \(i!=j\),\(gcd(a[i],a[j])==1\),现在要你找出这样的序列b,并且满足所有合法序...
因子分解
贪心
思维
数学
数论
gcd
2019-05-09
0
458