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.
added
it would be appropriate to mention the weight of the lock (next to the description of the weight of the barbe)
Switched
switch the title to Weight Guide or Weight Assistant
With the nibbles and arbitrary lengths of results, whis does not seem to be a clear duplicate indeed.
To risk sounding like a not real programmer, I honestly admit I never encountered two's complement with non-fixed width representations. All my experiemce with the topic boils down to constant width 32- or 64-bit values, and this probably impacts my understanding of the topic for values which can be arbitrarily extended to the left.
What can I say other than "smarter every day!" and thank for the lesson :)
"MSB functions as a sign bit" is ( at least an implied ) part of the definition. The bytes / nibbles thing then tells you whether or not to tack on an extra nibble.
Of course it is possible to spell out everything, but you probably know what I think of spelling out everything.
At the risk of calling you not a real programmer, I think a real programmer may be expected to know and understand two's complement well enough that it shouldn't be necessary to give a full definition of it. And unreal programmers can go read Wikipedia; that's what it's there for.
Changed inner
@describe
to@it
and add some fixed tests to submission tests.Tests are structured in an incorrect way:
@it
. Assertions inside of@describe
are not valid. Most probably you should change the inner@describe
to@it
.Thanks :D
already fix it
It's simular, but not duplicate.
On these 12 sample tests on python it says "Not right". Is this supposed to be in this kata?
Thanks, i described this case.
Duplicate?
https://www.codewars.com/kata/6400c3ebf4a0b796602988a6
https://www.codewars.com/kata/6400caeababb193c64d664d1
Loading more items...