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

死循环似的递归, 没有或者不可能到达结束条件, 同时在堆栈中保存参数,局部变量等等,最后堆栈装满,就RunTimeError

Posted by yangxiu at 2006-07-22 12:56:33 on Problem 2601
In Reply To:不懂什么意识?为什么堆栈会溢出 可以说明白一点吗 Posted by:xuhanqiu at 2006-07-22 10:57:10
> 这道题 由于自己递归太薄弱  所以被迫把公式推出来 AC了
>    递归到底怎么弄.为什么他那么写就会溢出呢 麻烦了   以后来看 
>       请知道的高人说明白一点
>   

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