题目描述 给定字符串 s 和 t,判断 s 是否为 t 的子序列。 输入格式 一行两个字符串 s,t。 输出格式 是则输出 YES,否则输出 NO。 样例 输入 abc ahbgdc 输出 YES 数据范围 0≤∣s∣≤100,0≤∣t∣≤104