| ||||||||||
| 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:hello1 at 2005-07-21 20:54:06 int apple_put(int m,int n)
{
if (m<=1||n<=1) return 1;
if (m<n) return apple_put(m,m);
else return apple_put(m,n-1)+apple_put(m-n,n);
}
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator