摘要: 题目链接: "http://poj.org/problem?id=2960" S Nim Time Limit: 2000MS Memory Limit: 65536K 问题描述 Arthur and his sister Caroll have been playing a game called 阅读全文
posted @ 2016-07-29 23:20 fenicnn 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=5446" Unknown Treasure 问题描述 On the way to the next secret treasure hiding place, the mathematician di 阅读全文
posted @ 2016-07-29 23:13 fenicnn 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 题目链接: "http://codeforces.com/contest/161/problem/D" D. Distance in Tree time limit per test 3 secondsmemory limit per test 512 megabytes 问题描述 A tree i 阅读全文
posted @ 2016-07-29 22:27 fenicnn 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 题目链接: "http://codeforces.com/problemset/problem/242/E" E. XOR on Segment time limit per test 4 secondsmemory limit per test 256 megabytes 问题描述 You've 阅读全文
posted @ 2016-07-29 22:13 fenicnn 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 题目链接: "http://codeforces.com/problemset/problem/353/D?mobile=true" H. Queue time limit per test 1 secondmemory limit per test 256 megabytes 问题描述 There 阅读全文
posted @ 2016-07-29 22:00 fenicnn 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 0、目录 ac自动机、后缀数组、Trie树、kmp、回文串算法、后缀自动机、字符串哈希 1、ac自动机 include include include include using namespace std; const int maxn=1000+10; const int maxm=50+10; 阅读全文
posted @ 2016-07-29 00:21 fenicnn 阅读(140) 评论(0) 推荐(0) 编辑