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

此题可用相向增长堆栈节省空间

Posted by linecong at 2006-09-28 23:26:24 on Problem 1028
因为VISTT后BACK堆栈最多100,FORWARD栈为0
BACK和FORWARD命令会保持两堆栈元素总数不变
所以两堆栈元素总数永远不会超过100。

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