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:Re:这么简单的题怎么问题这么多啊?吓死我了 Posted by:504512803 at 2012-02-05 12:55:17 INT GETBIN(INT *A,INT R,INT L)//我调用了一个函数 { IF(R<L)RETURN 0; IF(A[R]+A[L]<=L)RETURN 1+GETBIN(A,INT R-1,L+1); ELSE RETURN 1+GETBIN(A,R-1,L); } //这个贪心为什么WA啊 请神牛指教! Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator