+ 3
What is wrong?
It is task "Security". All is right instead of test 4. https://code.sololearn.com/c8qRNgpumvnl/?ref=app
3 Answers
+ 3
The problem description says there can be more than one guard. Change the code to look for substrings instead of exact matches.
+ 2
Why you print ALARM for empty string?
+ 2
The alarm should be printed by T$ and $T combinations otherwise quite if you carefuly read the description.