Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.
ContestId |
Name |
Phase |
Frozen |
Duration (Seconds) |
Relative Time |
Start Time |
|---|---|---|---|---|---|---|
| 802 | Helvetic Coding Contest 2017 online mirror (teams allowed, unrated) | FINISHED | False | 16200 | 280446923 | May 28, 2017, 8:05 a.m. |
Solved |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
|---|---|---|---|---|---|---|
| ( 8107 ) | G1 | Fake News (easy) | PROGRAMMING | implementation strings | 800 |
As it's the first of April, Heidi is suspecting that the news she reads today are fake, and she does not want to look silly in front of all the contestants. She knows that a newspiece is fake if it contains heidi as a subsequence. Help Heidi assess whether the given piece is true, but please be discreet about it... The first and only line of input contains a single nonempty string s of length at most 1000 composed of lowercase letters ( a - z ). Output YES if the string s contains heidi as a subsequence and NO otherwise. A string s contains another string p as a subsequence if it is possible to delete some characters from s and obtain p . |
| helvetic-coding-contest-2017-editorial.pdf |
No solutions yet.