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.
Dear Master! There is an error in the encoding of characters in your preloaded Morse code, namely, the period is encoded as a comma.
..... is a period
.-.-.- is a comma
Thanks, I found the problem! =)
I have a problem with passing a random test. Tell me what values it can give to fix my code in Java.
Sometimes a random test gets passed and I submitted my code as solved, but I want to understand where my mistake is.
The conditions of this kata are very strange. w * h * l is nothing but the volume of the room, and not the area of the walls on which the wallpaper will be glued. And based on this, provided that one of the dimensions of the room is equal to zero, we will get a volume equal to zero, but at the same time we will get a flat surface on which you can also stick wallpaper. The author of the kata obviously does not know that the wallpaper is glued to the plane, and not to the volume.
Can I send you my code to understand what is the problem?
I solve this kata in Java.
randomTests
Log
Testing for:
[2:0, 0:1, 0:2, 1:0, 0:4, 0:4, 4:3, 3:4, 4:2, 1:2]
expected:<12> but was:<0>
basicTests
Test Passed
What is the problem?