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.
I don't see any drafts.
Everything (except the last point) is wrong in this AI-generated text.
P.S. Do not submit AI-generated solutions.
"For your convenience the points for each color are provided as hash / dictionary with the name blz".
blz
should be defined in Preloaded.No sample test cases.
Don't forget to update the initial solution. It still has
const int array[length]
.int
should be changed tolong long
.This comment is hidden because it contains spoiler information about the solution
I also was not able to find a solution shorter than 10 bytes.
long double
has 10 bytes which can be used for opcodes (it occupies 16 bytes in memory but 6 bytes are always 0).i < res.size()
so only initialized elements are accessed.I doubt that banker's rounding is used for rounding prices. For example, the IRS rounding rule is to round half up. Most programming languages also use this rule for positive numbers (the only exceptions which I know are Python, R, .Net languages). So the expected rounding behavior should be clearly specified.
Approved
String.init len @@ const @@ Random.choice @@ Array.enum chars
Do not use
const
here. All generated words are in the form"AAAAAA"
(one character repeatedlen
times).See my issue above. You should not modify the input to pass tests.
From the description: "Your function can modify the initial board value as much as you like, but the test suite will validate what you return, so don't forget to return it".
But if you modify rows of the initial board then you will not pass tests. Tests call the user solution with a shallow copy of
board
.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...