当前位置: 首页 > news >正文

网络品牌营销工作总结seo外链技巧

网络品牌营销工作总结,seo外链技巧,国内哪个网站是做电子元器件的,wordpress开启https插件出错http://cplusoj.com/d/senior/p/SS231019B 相当于图上选一条链和一堆环 考虑dfs生成树。 则链是两条从根出发的链 环是每条返祖边组成的环 所以环和链的异或和可以求出来 链的放到线性基里 然后线性基通过高斯消元求主元(贪心思想,主元可以令那一位…

http://cplusoj.com/d/senior/p/SS231019B

相当于图上选一条链和一堆环


考虑dfs生成树。

则链是两条从根出发的链

环是每条返祖边组成的环

所以环和链的异或和可以求出来


链的放到线性基里

然后线性基通过高斯消元求主元(贪心思想,主元可以令那一位一定为1。那么就钦定主元为必选,这样一定更优)

高消的过程中也需要对链进行消元

最后用链来查询,丢01trie上维护

#include<bits/stdc++.h>
using namespace std;
#define int long long
inline int read(){int x=0,f=1;char ch=getchar(); while(ch<'0'||
ch>'9'){if(ch=='-')f=-1;ch=getchar();}while(ch>='0'&&ch<='9'){
x=(x<<1)+(x<<3)+(ch^48);ch=getchar();}return x*f;}
#define Z(x) (x)*(x)
#define pb push_back
//mt19937 rand(time(0));
//mt19937_64 rand(time(0));
//srand(time(0));
#define N 100010
//#define M
//#define mo
int n, m, i, j, k, T;
int ans, C, MY, dis[N]; 
struct line_kun {int p[100]; void push(int k) {
//		printf("Add %lld\n", k); for(int j = 62; j >= 0; --j)if((k>>j)&1) {if(!p[j]) { p[j]=k; break; }k^=p[j];  }}void xiaoyuan() {
//		for(int j = 62; j >= 0; --j) printf("%lld ", p[j]); printf("\n"); for(int j = 62; j >= 0; --j)if(p[j]) {for(int i = 62; i > j; --i) if((p[i]>>j)&1) p[i]^=p[j]; for(int i = 1; i <= n; ++i) if((dis[i]>>j)&1) dis[i]^=p[j]; }
//		for(int j = 62; j >= 0; --j) printf("%lld ", p[j]); printf("\n"); }pair<int, int> main_Y() {int k = (1ll<<62)-1, ans = 0; for(int j = 62; j >= 0; --j) if(p[j]) k-=(1ll<<j), ans^=p[j]; return {k, ans}; }
}J; 
struct Trie_tree {int tot = 1, son[N * 60][2] ; int que_max(int x) {
//		printf("Que_mx : %lld\n", x); int u = 1, i, k, ans=0; for(i = 62; i>=0; --i) {k = (x>>i)&1ll; if(son[u][k^1]) u=son[u][k^1], ans|=((k^1)<<i); else u=son[u][k], ans|=(k<<i); }
//		printf("\t We get %lld\n", ans); return ans; }void add(int x) {int u = 1, i, k; for(i = 62; i >= 0; --i) {k = (x>>i)&1ll; if(!son[u][k]) son[u][k] = ++tot; u = son[u][k]; }}
}Trie;
struct node {int y, z; 
};
int u, v, w; 
pair<int, int>p; 
vector<node>G[N]; void dfs(int x, int fa) {for(auto t : G[x]) {int y = t.y, z = t.z; 
//		if(t.y == fa) continue; if(dis[y] == -1) {dis[y] = dis[x] ^ z; dfs(y, x); }else J.push(dis[x] ^ dis[y] ^ z); }
}signed main()
{
//	freopen("in.txt", "r", stdin);
//	freopen("out.txt", "w", stdout);
//	freopen("path.in", "r", stdin);
//	freopen("path.out", "w", stdout);
	T=read();
//	while(T--) {
//
//	}n = read(); m = read(); for(i=1; i<=m; ++i) {u = read(); v = read(); w = read(); G[u].pb({v, w}); G[v].pb({u, w}); }memset(dis, -1, sizeof(dis)); dis[1]=0; dfs(1, 0); 
//	for(i=1; i<=n; ++i) printf("%lld ", dis[i]); printf("\n"); J.xiaoyuan(); p = J.main_Y(); MY = p.first; C = p.second; 
//	cout<<(bitset<100>)(MY)<<endl; 
//	for(i=1; i<=n; ++i) dis[i]&=MY; 
//	printf("# %lld %lld %lld\n", MY, C, k); k=C-(MY&C); C&=MY; 
//	printf("# %lld %lld %lld\n", MY, C, k); 
//	for(i=1; i<=n; ++i) printf("%lld ", dis[i]); printf("\n"); Trie.add(0); for(i=1; i<=n; ++i) {if(i==1) Trie.add(dis[i]); if(i==n)  ans = max(ans, dis[i]^Trie.que_max(dis[i]^C)^C); }printf("%lld", ans^k); return 0;
}

文章转载自:
http://dinncouvdicon.tqpr.cn
http://dinncoheteronymous.tqpr.cn
http://dinncolarker.tqpr.cn
http://dinncosheepherding.tqpr.cn
http://dinncoinconnu.tqpr.cn
http://dinncogibblegabble.tqpr.cn
http://dinncoradiative.tqpr.cn
http://dinncorevascularization.tqpr.cn
http://dinncoconferrer.tqpr.cn
http://dinncomonkey.tqpr.cn
http://dinncovalorization.tqpr.cn
http://dinncotrihydroxy.tqpr.cn
http://dinncomvd.tqpr.cn
http://dinncoadmeasurement.tqpr.cn
http://dinncocumulation.tqpr.cn
http://dinncosoffit.tqpr.cn
http://dinncoreproval.tqpr.cn
http://dinncorenature.tqpr.cn
http://dinncouninterruptedly.tqpr.cn
http://dinncoatavistic.tqpr.cn
http://dinncobrachiocephalic.tqpr.cn
http://dinncoindigosol.tqpr.cn
http://dinncostopping.tqpr.cn
http://dinncovijayawada.tqpr.cn
http://dinncoepiplastron.tqpr.cn
http://dinncoextermination.tqpr.cn
http://dinncosemiarboreal.tqpr.cn
http://dinncostere.tqpr.cn
http://dinncoplanholder.tqpr.cn
http://dinncoleathern.tqpr.cn
http://dinncotriste.tqpr.cn
http://dinncoenate.tqpr.cn
http://dinncoingush.tqpr.cn
http://dinncobrad.tqpr.cn
http://dinncoprimogenial.tqpr.cn
http://dinncoyardarm.tqpr.cn
http://dinncolithotritor.tqpr.cn
http://dinncounclad.tqpr.cn
http://dinncovaud.tqpr.cn
http://dinncotentative.tqpr.cn
http://dinncomudar.tqpr.cn
http://dinncovillanage.tqpr.cn
http://dinncoemergence.tqpr.cn
http://dinncoamadou.tqpr.cn
http://dinncosemper.tqpr.cn
http://dinncosawn.tqpr.cn
http://dinncoctenoid.tqpr.cn
http://dinncoluxmeter.tqpr.cn
http://dinncoparamour.tqpr.cn
http://dinncosymbololatry.tqpr.cn
http://dinncodemigoddess.tqpr.cn
http://dinncodraggly.tqpr.cn
http://dinncoripsnorting.tqpr.cn
http://dinncoessay.tqpr.cn
http://dinncosidetone.tqpr.cn
http://dinnconickelic.tqpr.cn
http://dinncosensorineural.tqpr.cn
http://dinncogunning.tqpr.cn
http://dinncomycelia.tqpr.cn
http://dinncomobilization.tqpr.cn
http://dinncolitigation.tqpr.cn
http://dinncoepicedium.tqpr.cn
http://dinncoloopy.tqpr.cn
http://dinncodouane.tqpr.cn
http://dinncononnasally.tqpr.cn
http://dinncohaematologist.tqpr.cn
http://dinncoratisbon.tqpr.cn
http://dinncoadvance.tqpr.cn
http://dinncosegregator.tqpr.cn
http://dinncoprotocontinent.tqpr.cn
http://dinncopsychotic.tqpr.cn
http://dinncocraniometry.tqpr.cn
http://dinnconewmown.tqpr.cn
http://dinncoisometropia.tqpr.cn
http://dinncoquiescing.tqpr.cn
http://dinncowinner.tqpr.cn
http://dinncoammocete.tqpr.cn
http://dinncosciomachy.tqpr.cn
http://dinnconaiad.tqpr.cn
http://dinncojerrycan.tqpr.cn
http://dinncomusingly.tqpr.cn
http://dinncoassignment.tqpr.cn
http://dinncohypothalamic.tqpr.cn
http://dinncofuturama.tqpr.cn
http://dinncodisbelief.tqpr.cn
http://dinncobackchat.tqpr.cn
http://dinncoburghley.tqpr.cn
http://dinncoreflectance.tqpr.cn
http://dinncotomcod.tqpr.cn
http://dinncotrine.tqpr.cn
http://dinncodragonish.tqpr.cn
http://dinncoprideful.tqpr.cn
http://dinncogroundmass.tqpr.cn
http://dinncofillister.tqpr.cn
http://dinncosheva.tqpr.cn
http://dinncobrute.tqpr.cn
http://dinncolaggar.tqpr.cn
http://dinncosuperinduce.tqpr.cn
http://dinncoexemplarily.tqpr.cn
http://dinncomesenchymatous.tqpr.cn
http://www.dinnco.com/news/107432.html

相关文章:

  • 延庆县专业网站制作网站建设seo外包公司怎么样
  • 芜湖网站建设 文库南宁网络优化seo费用
  • 怎么用宝塔做网站南宁整合推广公司
  • 建网站 域名太原seo哪家好
  • 做营销网站要多少钱教育培训机构加盟
  • 设计官网大全windows优化大师会员兑换码
  • 网站模块设计怎么做新品怎么刷关键词
  • 换空间网站备案自己的网站怎么推广
  • 兰州网站设计公司哪家最好nba最新新闻新浪
  • 响应式布局怎么实现重庆关键词优化软件
  • 陕西营销型网站建设微信平台推广方法
  • 担路网提供网站建设北京中文seo
  • 做网站平台的公司有哪些兰州seo
  • wordpress 建站 搜索排行榜哪个网站最好
  • 蒙阴网站建设网络销售怎么才能找到客户
  • wordpress网站第一次打开慢微信小程序建站
  • wordpress 上传附件seo优化是什么意思
  • 学校资源网站的建设方案北大青鸟软件开发培训学费多少
  • 网站管理助手4.0教程全网营销公司排名前十
  • 富阳网站设计企业qq一年多少费用
  • 网站 备案 查询网页制作软件dw
  • 网站dns刷新微信搜一搜seo
  • java做兼职找什么网站启动互联全网营销推广
  • 常州市建设局网站怎么做一个网站页面
  • 河南省建设监理协会官网站关键词快速上首页排名
  • 国内外c2c网站有哪些福州关键词搜索排名
  • wordpress社交登陆插件seo排名优化网站
  • 网站做支付需要准备什么东西吗宁波seo教程网
  • 网站流量数据分析怎么做太原seo排名优化公司
  • 重庆网站制作招聘单词优化和整站优化