#174. 字符串列表长度筛选

    ID: 174 傳統題 1000ms 256MiB 嘗試: 0 已通過: 0 難度: (無) 上傳者: 標籤>codingbatFunctional-2gesp3字符串一维数组

字符串列表长度筛选

String Filtering

Background

Congcong is organizing a list of strings. He wants to quickly filter out strings that do not meet specific length requirements.

Problem Description

Given a list of strings, return a new list of strings, omitting any string of length 33 or 44.

Input Format

Input is given from standard input in the following format.

A single line containing several space-separated strings. Each string may be enclosed in double quotes.

Output Format

Output is printed to standard output in the following format.

A single line, outputting the filtered list of strings in the format `["s1\