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 zhangfeifei at 2010-09-05 16:03:28 on Problem 1420
实际上,可以用简单的记忆化搜索来处理。和拓扑排序有关联。然而在储存数据时遇到麻烦。如果数据足够
大,完全达到题目的上限,即使每个 CELL 只占一个字节也会超出内存。而有人根据经验说100*100即
可。然而如果要在读入时储存信息,如果使用 C 语言的固定变量大小,一定存不了。所以只能使用可变大小
的空间。比如string ,vector 等。

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