随笔分类 -  递推

摘要:求区间欧拉函数和代码: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 const int maxn = 3000005; 7 long long e[maxn + 10]; 8 9 void init() {10 ... 阅读全文
posted @ 2015-03-24 21:18 悠悠我心。 阅读(103) 评论(0) 推荐(0)
摘要:http://vjudge.net/vjudge/contest/view.action?cid=57492#overviewf: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 const int maxn = 13;... 阅读全文
posted @ 2014-10-02 21:48 悠悠我心。 阅读(191) 评论(0) 推荐(1)
摘要:1012the Sum of CubeTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2407Accepted Submission(s): 936... 阅读全文
posted @ 2014-10-01 09:10 悠悠我心。 阅读(301) 评论(0) 推荐(0)