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

Re:两个代码,用的都是DP,只是运算顺序不同,结果一个AC一个TLE

Posted by asdf_1234 at 2011-03-10 11:55:23 on Problem 1159
In Reply To:Re:两个代码,用的都是DP,只是运算顺序不同,结果一个AC一个TLE Posted by:guzhilei1986 at 2007-08-23 09:37:09
> 这个可能和输入缓存有关,我刚才试了一下,输入5000个字母是只有4094个字母进入了程序。可能一般的机器的键盘缓存只有4k
确实是这样,用文件读这组数据就没问题了。

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