Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:不用循环吧 这样就好了

Posted by y07yangruilong at 2007-08-26 11:11:35 on Problem 1664
In Reply To:Re:不用循环吧 这样就好了 Posted by:first at 2006-03-09 17:17:03
> int PlaceApple(int m, int  n)
> {
> 	if(m < 0)
> 		return 0;
> 	if(m  == 0)
> 		return 1;
> 	if(n == 0)
> 		return 1;
> 	return PlaceApple(m - n, n) + PlaceApple(m, n - 1);
> }
!!!!!!!!!!
好思想!!!!!!!

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator