#175. 字符串添加与过滤

    ID: 175 Type: Default 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>codingbatFunctional-2gesp3字符串

字符串添加与过滤

String Processing and Filtering

Background

Congcong is working on a string processing task. He needs to perform operations on a series of strings and filter out strings that meet specific criteria.

Problem Description

Given a list of strings, return a new list where each string is the result of adding "y" at its end, omitting any resulting strings that contain "yy" as a substring anywhere.

Input Format

Input is given from standard input in the following format.

Multiple strings, separated by spaces.

Output Format

Output is printed to standard output in the following format.

A list of strings, formatted as `["s1\