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 070220219 at 2009-12-02 11:44:00 on Problem 1732
用纯暴力的DP就可以过。我刚开始开了一个string s[50001]存储单词,接着将其转化为数字字符串。
当我要输出的时候发现输出的都是数字。无奈之下,我又开了一个s1[50001],用以保存原有的字符串。
结果2034KB,没有超内存。

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