hdu 4627 The Unsolvable Problem
摘要:
#includeint gcd(int x,int y){ if(y==0)return x; return gcd(y,x%y);}int main(){ int _case,n,i,j,k; scanf("%d",&_case); while(_case--) { scanf("%d",&n); for(i=n/2; i=n)printf("%d\n",n-1); else { long long mul=1; mul=mul*i/k*(n-i); ... 阅读全文
posted @ 2013-07-30 20:05 雨钝风轻 阅读(175) 评论(0) 推荐(0) 编辑