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 |
Re:变态代码,0MS,难理解~~~~~~~~In Reply To:变态代码,0MS,难理解~~~~~~~~ Posted by:lileiyang12 at 2011-01-26 22:45:58 > 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