摘要: 想到写这个是因为今年多校联合训练3的1004题题目中有一个子问题是求一个串内不同数的种类数数 最小的区间。官方题解(http://bestcoder.hdu.edu.cn/blog/2017-multi-university-training-contest-4-solutions-by-%e9%99%88%e6%9d%be%e6%9d%a8/)是利用线段树来处理的:首先,预处理一下字符串,求出每... 阅读全文
posted @ 2017-08-06 21:45 Pic 阅读(1208) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 3000MSMemory Limit: 65536KTotal Submissions: 3119Accepted: 696DescriptionThe Disc, being flat, has no real horizon. Any adventurous sailors who get funny ideas from staring at eggs and ora... 阅读全文
posted @ 2017-08-06 20:54 Pic 阅读(255) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 1000MSMemory Limit: 30000KTotal Submissions: 8141Accepted: 3674DescriptionEvery year, Farmer John's N (1 9 #include 10 #include 11 #include 12 #include 13 using namespace std; 14 typ... 阅读全文
posted @ 2017-08-06 20:42 Pic 阅读(578) 评论(0) 推荐(0) 编辑