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 |
递归了? 我的k只要上到10^9肯定是说stack overflowIn Reply To:Re:怎么做? Posted by:akme at 2007-06-03 21:43:41 > 设f[n]=A^1+A^2+....A^n; > 当n是偶数,f[n]=f[n/2]+f[n/2]*A^(n/2); > 但n是奇数,f[n]=f[n-1]+A^(n); stack overflow是不是给我一个WA还是Runtime Error? 我得到的是WA Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator