摘要:
后缀数组求不同子串的个数 "洛谷P2408" 如果学会后缀数组,那么这题就是一个对于后缀数组的结果的应用,具体看solve函数的注释 cpp include include include include include using namespace std; const int N = 1e6 阅读全文
摘要:
POJ 1966 Cable TV Network 图的连通度,网络流最小割 "Cable TV Network" Cable TV Network Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 5047 Accepted: 2 阅读全文
摘要:
1,边双联通(桥) POJ3177Redundant Paths Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 17989 Accepted: 7470 Description In order to get from one 阅读全文
摘要:
Watchcow Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 8841 Accepted: 3854 Special Judge Description Bessie's been appointed the new watc 阅读全文
摘要:
POJ 3678 2 SAT "题目链接" Katu Puzzle is presented as a directed graph G(V, E) with each edge e(a, b) labeled by a boolean operator op (one of AND, OR, XO 阅读全文
摘要:
POJ 2018 Best Cow Fences(二分答案) Best Cow Fences Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 12144 Accepted: 3958 Description Farmer John 阅读全文
摘要:
题目链接 Farm Tour Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 18961 Accepted: 7326 Description When FJ's friends visit him on the farm, he 阅读全文