摘要:
斯特林公式知道这个公式后就来水一题加深印象#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<algorithm>using namespace std;#define PI acos(-1.0)#define e exp(1.0)int main(){ int total; scanf("%d",&total); while(total--) { __int64 n; scanf("%I64d 阅读全文
posted @ 2012-08-17 19:46
willzhang
阅读(198)
评论(0)
推荐(0)
摘要:
#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<algorithm>using namespace std;__int64 gcd(__int64 a,__int64 b){ if (!b) return a; return gcd(b, a % b);}int main(){ __int64 total; scanf("%I64d",&total); __int64 k=1; while(total 阅读全文
posted @ 2012-08-17 17:34
willzhang
阅读(193)
评论(0)
推荐(0)

浙公网安备 33010602011771号