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.
in cpp version code works fine locally on my visual studio and gives the right output while when i do test or attempt it gives wrong output on the site
Example Error:
Expected: equal to (1, 999, 999)
Actual: (1, 118, 999)
While it gives (1, 999, 999) on my visual studio
all error like this on the site when i tried it on my visual studio it gives the EXPECTED CORRECTLY!
This comment is hidden because it contains spoiler information about the solution
(Haskell, maybe others)
Fixed test cases allow for solutions that do not properly check for square matrices such as this solution.
I've made a Haskell fork that adds the following test cases:
This comment is hidden because it contains spoiler information about the solution
What is going on?
Time: 2708ms Passed: 0Failed: 4Exit Code: 1
Test Results:
Fixed_Tests
Basic_Tests
Expected: equal to [8.6667, 6.6667]
Actual: [8.6667, 6.6667]
Random_Tests
Moderate_Values
Expected: equal to [33, 37.3333]
Actual: [33, 37.3333]
High_Values
Expected: equal to [642.333, 895.667]
Actual: [642.333, 895.667]
Huge_Values
Expected: equal to [4697.33, 6422]
Actual: [4697.33, 6422]
What is a partition? Define partition..
Examples assumed that partition is something the user should be aware of?
https://en.wikipedia.org/wiki/Pascal%27s_triangle
The sum of the elements of row 2 ** n.
The solution is 2 ** n -1.
From a mathematical point of view, why -1?
I think the sentence in the description should read:
Prepare a code that given the number of digits n, may output the amount of palindromes of length equals to n and the total amount of palindromes below or equal to 10n.
This comment is hidden because it contains spoiler information about the solution
python new test frameworks
Description markdown is broken when Java is selected.
In the description, under "Examples", the brackets in
proc_arrInt(arr1) ------> [21, 2, [9, [36]]
are mismatched (3 opening, 2 closing).the tests depend on
OrderedDict
beingimport
ed by the user at the top levelshould be:
This kata have several issues:
<<
< <
or>>
> >
with no added value, why adding to 2 different operators???[]
and not the same than any other case, an nested array, like:[ [] ]
otherways great kata, super fun, should be kyu 4 at least... this can't be the same as splitting a url.
EDIT: I forked the kata, please approve, I speeded up the solution and make the changes aformention in the top section. Fork bellow:
Python random tests say "...matrices up to 20 rows or 20 columns..." although only up to 9 is tested (as stated in the description).
Loading more items...