0
Security code coah?
I get wrong in test case#6 it is hidden https://code.sololearn.com/cd3PQcuV0PhX/?ref=app
4 Respostas
+ 4
AbdElrahman Maans
It looks like you are trying to resolve every possibility individually.
Might I suggest the following.
Write a function which will identify $T or T$
Then iterate through your string,
xxGxx$xxTxx and filter out the x's.
You will then have a string which looks like this G$T
Run this string through your function to generate ALARM or quiet
+ 3
https://code.sololearn.com/cwAkcz3JO27g/#cpp
https://www.sololearn.com/Codes?ordering=MostRecent&query=Security%20
Keep learning & happy coding :D
+ 1
SoloProg
I managed to solve every test case except test case 6#