Emoji
Time limit1sMemory limit512 MB
Given a short message, determine for each line whether it contains the Slack cat emoji expressed as an ASCII shortcode.
- Level
Easy1 of 10
- Topics
- String, Implementation, String matching
- Solved
- No attempts yet
Problem
Slack, the messenger software used by many companies, supports inserting emoji using ASCII characters alone. Implement this feature.
Input
A message is given. The message has at most 30 lines, and each line is at most 30 characters long.
Output
For each line, print YES if the emoji š± is present, and NO otherwise. Assume that no custom emoji has been registered.
Hint
This is based on the Slack web version of March 31, 2019.