摘要: #include#include#include#include//greater 使得从小到大 ,less反//priority_queue, less > que 相当于 priority_queue que#includeusing namespace std;const int MAX =... 阅读全文
posted @ 2015-07-19 15:59 Painting、时光 阅读(509) 评论(0) 推荐(0) 编辑
摘要: We'll defineS(n)for positive integernas follows: the number of then's digits in the decimal base. For example,S(893) = 3,S(114514) = 6.You want to mak... 阅读全文
posted @ 2015-07-19 14:53 Painting、时光 阅读(232) 评论(0) 推荐(0) 编辑