Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
变态代码,0MS,难理解~~~~~~~~main(n) { float b; while(scanf("%f",&b),b) { for(n=1;b>0;)b-=1./++n; printf("%d card(s)\n",n-1); } } Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator