阅读背景:

Easy Comparison(字符串转数字)

来源:互联网 

Description

  Given a string S, your task is to simulate the following operations. At first, you should sort it by lexicographic order and generate an order string S’. Then, you should compare S’ with S character by character. Finally, you should output the number of different characters between S’ and S.  Given a string S, your task




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: