摘要: Problem Description Siruseri城中的道路都是单向的。不同的道路由路口连接。按照法律的规定,在每个路口都设立了一个Siruseri银行的ATM取款机。令人奇怪的是,Siruseri的酒吧也都设在路口,虽然并不是每个路口都设有酒吧。 Banditji计划实施Siruseri有史 阅读全文
posted @ 2018-08-04 17:14 cj-gjh 阅读(494) 评论(1) 推荐(0) 编辑
摘要: T1: include include inline int gi(){ int sum=0,f=1;char ch=getchar(); while(ch '9' || ch='0' && ch=1;i ){ if(x =a[i] && x=b[i] && y 阅读全文
posted @ 2018-07-18 19:53 cj-gjh 阅读(139) 评论(0) 推荐(0) 编辑
摘要: "Candy的算法总结" 省选道路还有点远! 阅读全文
posted @ 2018-07-02 22:28 cj-gjh 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 定义 如果一个图删去某个点后被分成了两个部分,那么称这个点为图的割点 求法 Tarjan过程中记录low,dfn,然后如果一个点的儿子中的low值 =当前点的dfn值,那么显然它是割点. Code "洛谷模板" include include include using namespace std; 阅读全文
posted @ 2018-05-26 16:31 cj-gjh 阅读(192) 评论(0) 推荐(0) 编辑