02 2018 档案

摘要:CodeForces - 549C 剩下的人数之和为奇数时先手胜,否则后手胜。 考虑最后一步 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 int main(){ 5 //ios_base::sync_with_stdio(0); 6 i 阅读全文
posted @ 2018-02-28 16:46 yijiull 阅读(203) 评论(0) 推荐(0)
摘要:Our Journey of Xian Ends 链接:here 参考http://blog.csdn.net/wangshuhe963/article/details/78516821 如果不理解为什么这么建模可以先做下面那道题 费用流~ 1 #include <bits/stdc++.h> 2 阅读全文
posted @ 2018-02-28 12:05 yijiull 阅读(307) 评论(0) 推荐(0)
摘要:很早之前就想学了,,又拖到了现在。。。 好好看这一篇博客就够了(不过里面好像有一点错误)链接 配合hihocoder更佳! 其他资料: clj课件: 链接 另一篇(英文的): 链接 阅读全文
posted @ 2018-02-04 21:08 yijiull 阅读(114) 评论(0) 推荐(0)
摘要:题目链接:here 题解:首先找最短的串,长度为minlen, 可知长度更长的串答案一定为0, 而长度等于minlen的串答案相等。 其实稍微想一下就知道了,比赛的时候上来就把KMP否了,一直在想别的做法。。。一点也不知道思考啊。。。 1 #include <bits/stdc++.h> 2 usi 阅读全文
posted @ 2018-02-04 14:06 yijiull 阅读(141) 评论(0) 推荐(0)