摘要: 最大流模版。POJ原题。 阅读全文
posted @ 2013-03-01 13:57 Naix_x 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 这个题 我看了题解的提示,把自己的代码弄的只过了8组。。。最后两组无解的情况,实在搜不出来了。加了判字符串哈希的数组,就是为了搞最后两组数组的。。。终于水过了。。。代码非常难看,Tire树,字符串哈希(找的别人的)。。。View Code /* ID: cuizhe LANG: C++ TASK: cryptcow*/#include <cstdio>#include <cstring>#include <cmath>#include <string>#include <ctime>using namespace std;#defin 阅读全文
posted @ 2013-03-01 13:28 Naix_x 阅读(265) 评论(0) 推荐(0) 编辑