+ 1

Is there shorter and better decision?

https://code.sololearn.com/ctWVVo871cX1/?ref=app

20th Jan 2020, 1:45 PM
Safari Fason
Safari Fason - avatar
4 Antworten
+ 1
You rather have to ask yourself: Is there a *working* solution? Try this input: G$TG Although the thief already has his fingers at the money, the output is 'quiet'.
20th Jan 2020, 3:23 PM
HonFu
HonFu - avatar
+ 2
Did you pass with the solution? The tests are not always good, several people reported that. I have also passed at least one task I shouldn't have.
20th Jan 2020, 8:44 PM
HonFu
HonFu - avatar
+ 1
Ipang you are right
20th Jan 2020, 8:32 PM
Safari Fason
Safari Fason - avatar
0
Yeah, I knew this code will not work for all input variants, I just interested for shorter code as my one seems too heavy )) Anyway it has passed all tests of code coach )
20th Jan 2020, 8:29 PM
Safari Fason
Safari Fason - avatar