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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Have another suggestion (let you see): as I clicked several times before passing (waiting for the random tests NOT to generate such a case).. it means that invalid solutions may pass..
you should add such a case in the fixed tests. And may be in the first given tests.
I know why my first sol didn't pass (as well as ... why my accepted solution passes not 100% of the time)...
The condition for c to be less than int max in c++(in c++, use std::numeric_limits::max()) is never mentioned in the description....
Make a special description in
Trying C++, having a problem with random cases.
You can verify that the actual results are triples satisfying the requirements ;-)
How can the expected result be '[]' ??
??
Whenever encode or decode is called, my code prints in order input string and output string..
I Will check.
but... doesnt explain the output auab^... of the expected value ??
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
IMHO you should make the entry vector CONST... In a code lib you may not expect to change (sort) the vector input ??
Nice Kata.
If you have some trouble solving it... ask yourself why.. geometry tag was set... And be ready to draw and sketch (and scratch your head)...
This comment is hidden because it contains spoiler information about the solution
I, as an amateur coder, found a lot of fun playing with pentomino problems..
So I just wanted to share!!
Thanks
brodiemark: see my 2::3 modifs.in approved kata... if you want python to 100% match C++.. would be easy to update...
This comment is hidden because it contains spoiler information about the solution
Sorry, I think I get what you mean, but would you be more specific ? Describing one of the sample tests you think about ? Or provide with one ? Or ... simply help me on the way to GENERATE these falses grid (got no idea how to...)?
BTW... @nathan: saw your comments on the comments (!!!). I will (try to) fix, including the suggestion of dfwze on the occuring of the swapping of some letters. It's right to say that a wrong letter is MUCH EASIER to detect than a "wrong piece"...
If I may (don't know sh.. about python..): in C++, when using igloo and "Assert::That(...", it will abort at first error, am I right ?
@brodiemark and all: I will keep you posted with the upcoming modifications... But... the first beta version of the kata was 4 years ago... I'm now a grandpa (true) with less time to "codewars on" !!:-)
Loading more items...