• [1532] New String

  • 时间限制: 2000 ms 内存限制: 65535 K
  • 问题描述
  • Ceil so love the new string.
    If you can erase any character from the string, and use the remain character by any order to comprise the "new" , the string is the new string, otherwise not.
    Give you some string, you should help Ceil determine whether the string is the new string.

  • 输入
  • There are multiple test cases. For each test case:
    There is a string only contain the lowercase (1 <= string's length <= 1000).
  • 输出
  • If the string is the new string ,output "YES", otherwise output "NO".
  • 样例输入
  • aaneaw
    nneeaa
    wanaaea
  • 样例输出
  • YES
    NO
    YES
  • 提示
  • 来源
  • 本站或者转载
  • 操作

显示春菜