随笔分类 -  数学——容斥原理

摘要:题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2836#include #include #include #include #include #include #include #define maxn 15#define INF 0x3f3f3fusing namespace std;int a[maxn];int N;long long ans,M;int gcd(int a,int b){ //printf("%d %d\n",a,b); if(a%b == 0) return b 阅读全文
posted @ 2013-08-04 18:22 等待最好的两个人 阅读(187) 评论(0) 推荐(0)