Qiuqiqiu  
不管道路多么崎岖坎坷,我永远不停下追逐梦想的脚步!

2012年3月7日

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=4135容斥原理View Code 1 #include <iostream> 2 #include <cstdio> 3 #include <cmath> 4 using namespace std; 5 int p[100],cnt; 6 long long a,b,aa,bb; 7 void pt(int n,int *p,int &c) 8 { 9 c=0;10 int i,m=(int)sqrt(n);11 for (i=2;i<=m;i++) if 阅读全文
posted @ 2012-03-07 17:09 Qiuqiqiu 阅读(240) 评论(0) 推荐(0) 编辑