+ 3

What is wrong?

It is task "Security". All is right instead of test 4. https://code.sololearn.com/c8qRNgpumvnl/?ref=app

10th Jan 2021, 7:12 AM
Ситникова Варвара
Ситникова Варвара - avatar
3 ответов
+ 3
The problem description says there can be more than one guard. Change the code to look for substrings instead of exact matches.
10th Jan 2021, 7:29 AM
Brian
Brian - avatar
+ 2
Why you print ALARM for empty string?
10th Jan 2021, 7:38 AM
Igor Kostrikin
Igor Kostrikin - avatar
+ 2
The alarm should be printed by T$ and $T combinations otherwise quite if you carefuly read the description.
10th Jan 2021, 9:14 AM
JaScript
JaScript - avatar