摘要: 题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=5695 题意:中文题,不解释 题解:逆向拓扑字典序就行 1 #include<cstdio> 2 #include<string> 3 #include<set> 4 #include<vector> 5 阅读全文
posted @ 2016-05-21 17:11 bin_gege 阅读(214) 评论(0) 推荐(0)
摘要: 题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=5690 题意: Problem Description F(x, m)F(x,m) 代表一个全是由数字xx组成的mm位数字。请计算,以下式子是否成立: F(x,m)\ mod\ k\ \equiv \ c 阅读全文
posted @ 2016-05-21 17:06 bin_gege 阅读(148) 评论(0) 推荐(0)
摘要: 题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=2665 题意:给你一个区间,让你找这个区间第K大的数 题解:主席树模版题,也可以用划分树 1 #include<cstdio> 2 #include<vector> 3 #include<algorith 阅读全文
posted @ 2016-05-21 11:53 bin_gege 阅读(142) 评论(0) 推荐(0)