2013年4月3日
摘要: 七夕节 1 /* 2 写于13年3月28日,最朴素直接的算法 3 改用筛法重写了一遍,没想到朴素法居然不超时,毁三观啊 4 */ 5 6 #include <iostream> 7 #include <stdio.h> 8 #include <string.h> 9 #include <math.h>10 using namespace std;11 const int maxn=500005;12 long long data[maxn];13 int main()14 {15 int t;16 int n;17 memset(data,0,s 阅读全文
posted @ 2013-04-03 09:56 行者1992 阅读(175) 评论(0) 推荐(0) 编辑