摘要: http://codeforces.com/problemset/problem/121/A用队列打表,将所有的4,7的元素都计算出来。。。View Code 1 #include <iostream> 2 using namespace std; 3 const int maxn = 55000; 4 const __int64 pow = 10000000005; 5 __int64 ans[maxn]; 6 7 void solve() 8 { 9 ans[0]=4;10 ans[1]=7;11 __int64 pre,rear,temp;12 p... 阅读全文
posted @ 2012-10-02 18:56 YORU 阅读(223) 评论(0) 推荐(0)
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1280数据的范围不是很大...所以可以HASH我来练练优先队列...http://acm.hdu.edu.cn/showproblem.php?pid=4223暴力就可以了。。。。 阅读全文
posted @ 2012-10-02 14:52 YORU 阅读(194) 评论(0) 推荐(0)