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:犯了几个很水的错误,对菜鸟有帮助

Posted by hancy at 2008-09-13 17:48:28 on Problem 1007
In Reply To:犯了几个很水的错误,对菜鸟有帮助 Posted by:Alex_Lau at 2008-04-24 19:29:10
long min=50000;            //min应该设定的足够大,因为字符串长度最长可达100,逆序也有可能很大


字符串长度长达为100时,最大逆序数为5000,不用设这么大!

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