摘要:
题目链接: "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 阅读全文
摘要:
题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=5446" Unknown Treasure 问题描述 On the way to the next secret treasure hiding place, the mathematician di 阅读全文
摘要:
题目链接: "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 阅读全文
摘要:
题目链接: "http://codeforces.com/problemset/problem/242/E" E. XOR on Segment time limit per test 4 secondsmemory limit per test 256 megabytes 问题描述 You've 阅读全文
摘要:
题目链接: "http://codeforces.com/problemset/problem/353/D?mobile=true" H. Queue time limit per test 1 secondmemory limit per test 256 megabytes 问题描述 There 阅读全文
摘要:
0、目录 ac自动机、后缀数组、Trie树、kmp、回文串算法、后缀自动机、字符串哈希 1、ac自动机 include include include include using namespace std; const int maxn=1000+10; const int maxm=50+10; 阅读全文