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 wangguyue86 at 2010-09-20 16:42:27 on Problem 1007
In Reply To:优质算法给大家参考 Posted by:hybswan at 2010-08-07 21:19:57
st[i]=flag*1000+i ; //将秩和原来的下标绑定 
这里可能会出问题 如果flag相等的话 会去比较i的值 造成原来的两个字符串颠倒位置

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