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

怎么是C++的栈大一些?里面的程序C++ WA,G++ RE。40000的递归深度G++就挂了。

Posted by zhucheng at 2005-08-30 21:14:42 on Problem 1987
void fun(int n)
{
   int a[10]={0};
   if(n>0)fun(n-1);
}
int main()
{
   fun(40000);
   return 0;
}

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