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:不太理解题目意思,哪位解释一下In Reply To:不太理解题目意思,哪位解释一下 Posted by:NP at 2006-03-20 22:54:09 #include <stdio.h> void main() { int n,k,j; scanf("%d %d",&n,&k); if(k>1) { j=n/(k-1)+n-1; printf("%d\n",j); } } 这样没问题吧…… 还么还是Wrong Answer?? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator