摘要:
想到写这个是因为今年多校联合训练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/)是利用线段树来处理的:首先,预处理一下字符串,求出每... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文