QOJ.ac

QOJ

Time Limit: 1.0 s Memory Limit: 2048 MB Total points: 100

#15927. Hissing Microphone

Statistics

某些麦克风存在一个已知的问题,即“嘶嘶的 s 音”。也就是说,有时字母 $s$ 的发音会特别明显,以一种令人不快的方式从单词的其余部分中脱颖而出。

特别令人恼火的是那些连续包含两个字母 $s$ 的单词。例如 $amiss$、$kiss$、$mississippi$ 甚至 $hiss$ 本身。

输入格式

输入在单行中包含一个字符串。该字符串仅由小写字母组成(不含空格),长度在 $1$ 到 $30$ 个字符之间。

输出格式

输出单行。如果输入字符串包含两个连续的字母 $s$,则输出 hiss。否则,输出 no hiss

样例

输入样例 1

amiss

输出样例 1

hiss

输入样例 2

octopuses

输出样例 2

no hiss

输入样例 3

hiss

输出样例 3

hiss

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0
No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.