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 AbrahamLee at 2010-10-12 17:41:45 on Problem 2159
主要是将两个字符串输入进来,将不同字符的个数进行统计,并进行哈希登记,然后再按照哈希登记的字符重复的个数在以个数为值的另外一个哈希表上累计,看两个字符串重复字符串是否一致,如果一致则一定有一种变换可以满足条件,否则,一定不。

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