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 |
faqIn Reply To:谁能告诉我c的全文结束语句应该怎么写 Posted by:quanjianan at 2005-07-27 21:43:06 > #include<stdio.h> > main() > { > int n,k,m,i; > scanf("%d%d",&n,&k); > m=n; > while (m/k!=0) > { > n=n+m/k; > m=m/k; > } > printf("%d\n",n); > } > } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator