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.
Total average is the average of all valid values:
I have no idea what is happening in random tests and how to debug them.
As I understood it [0, 4] are X coordinates and [0, 0] are corresponding Ys.
Python
AFAIK Manhattan distance is calculated |x2-x1| + |y2-y1|.
So at (0,3) with supplys at (0,0) and (4,0) I got:
and
But the answer is 1. Did I misunderstand something? TIA.
AFAICT that is also a magic square. So why isn't it an acceptable answer?
Python,
As I understood it:
I wanted to do this, but didn't think it would alow so many characters.
In Python, fixed tests
I don't understand why those answers are wrong.
Python, 4th sample test:
If we cut from right:
If we cut from the left:
Expected answer:
Python
https://imgur.com/a/lX7b5C9
First sample test:
"If no word is found, the first character is deemed the longest "word", regardless of its validity".
Since there are no valid words that start with "e","w","g","s","a" - we add the first character.
So why in "goodluck" we don't add "o", "d", "u", "c", "k"?
I don't understand the first fixed test in java - we're looking for Charlotte Hornets. These are their games:
Total 12 games, but the expected answer is:
Is there something I misunderstood about the question?
I don't understand if double space is a bug or a feature (Java);
expected:
but was:
Could someone explain this to me?
'
Loading more items...