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.
But you may need to cast many spells, so this is misleading. The description should mention that all the spells need to be casted.
Description should be language-agnostic
No sample tests in JS
Node 18. (
mocha + chai
) should be enabledCS test setup is flawed
The description should be language agnostic
JS:
No random tests
mocha
+chai
should be usedCS:
No random tests
mocha
+chai
should be usedPython: Random tests are vulnerable to input modification
Not every vocabulary word is tested in JS --> solution as proof
i dont say im a pro, but
till now what i've observed is.... most calculation problems have solution in the description itself, after we find answer and re-read the question there is mentioned every process to solve....but its too late to know.
and coming to other... description mentions one basic timed out process, we follow same and we end up timed out....but if we can carefully understand the example we get to know there's a pattern to follow, just for "Don't Drink the Water" problem, i was doing blindly and exceeding 30min....1hour....later i was about to skip the ques, then for a final try i wanted to check one testcase seiously, then i got the zimik(just a word for pattern/clue) and applied it, no timed out, just cleared all cases....... if anyone reads this comment...thank you for your time....im a beginner...and thanks to codewars and team for providing this platform for us (beginers)
please add this example to explain this line 'The glass representation may be larger or smaller. If a liquid doesn't fill a row, it floats to the top and to the left.'
{ {
{ 'H', 'H', 'W', 'O' }, { 'O','O','O','W' },
{ 'W', 'W', 'W', 'W' }, => { 'W','W','W','W' },
{ 'H', 'H', 'O', 'O' } { 'H','H','H','H' }
} }
it can be understood as
{ {
{ 'H', 'H', 'W', 'O' }, { 'O','O','O', '' },
{ 'W', '', '', '' },
{ 'W', 'W', 'W', 'W' }, => { 'W','W','W','W' },
{ 'H', 'H', 'O', 'O' } { 'H','H','H','H' }
} }
or
{ {
{ 'H', 'H', 'W', 'O' }, { 'W','O','O','O' },
{ 'W', 'W', 'W', 'W' }, => { 'W','W','W','W' },
{ 'H', 'H', 'O', 'O' } { 'H','H','H','H' }
} }
Why too many format codes should throw an error but
%f
without a number should print%f
?I have my output printed to console and it seems correct with the logic of the program prompt. All fixed test cases are accepted, but the random test cases flag up errors that don't affect the run of the program. Using a try/except statement to try to bypass any exceptions doesnt work and an error is still raised.
Java translation
p1 = [ 7, 7 ]
p2 = [ 6, 8 ]
why do the tests assert that the winner is the first? I think both will die.
Loading more items...