![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Floyd
tkj666
这个作者很懒,什么都没留下…
展开
-
bzoj 4956: Secret Chamber at Mount Rushmore
题意:给出m条字母变换规则,判断第一个单词能不能转换为第二个单词。 跑个Floyd然后扫一遍就好了吧。。 #include<cstdio> #include<cstring>bool mp[27][27]; int n,m;char* wk(char* s1,char* s2) { int len=strlen(s1); if(len!=strlen(s2)) retur原创 2017-07-30 10:59:55 · 339 阅读 · 0 评论 -
bzoj 2306: [Ctsc2011]幸福路径
倍增floyd原创 2017-09-10 16:28:39 · 316 阅读 · 0 评论 -
bzoj 5056: OI游戏
最短路原创 2017-09-29 21:48:28 · 451 阅读 · 0 评论