摘要: 地址:http://acm.split.hdu.edu.cn/showproblem.php?pid=6194 题目: string string string Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (J 阅读全文
posted @ 2017-09-11 11:02 weeping 阅读(1066) 评论(0) 推荐(0) 编辑
摘要: 1 struct RMQ 2 { 3 int log2[N],mi[N][25]; 4 void init(int n) 5 { 6 for(int i = 0; i > 1] + 1); 7 for(int j = 1; j < log2[n]; j ++) 8 for(int i = 1; i +... 阅读全文
posted @ 2017-09-11 10:56 weeping 阅读(245) 评论(0) 推荐(0) 编辑