Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
java translation
Forgot that we can change everything to make it look good! Nice and Clean!
Spent 2 hours for not reading properly XD
If you're talking about the Sample tests, maybe you edited it? Click Reset of change it manually.
In my case, test 5 still had the number 2 as the expected answer.
Thank you very much.
Are you sure about that? I've tried your current Java code and it worked.
This is the fixed test with that input:
And you can see the expected answer is 4 there.
In this case, there should be four happy faces: [:), :), x-], :ox, ;-(, ;-), ;~(, :~D]
:), :), ;-), :~D
However, according to the test case, there are only two.
Even if we remove the repeated one, there are still three faces that meet the condition.
Both
;~D
and;-D
are valid.Test # 2: There is no smile {;~D} in Valids -> wrong Kata -- How To Here return 4 ?
Test # 4: There Is Smile {;-D} And return There 1 How ?!!!
This comment is hidden because it contains spoiler information about the solution
great, but not validate the constraint.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Description should be language-agnostic
Enabled in this fork
Loading more items...