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 the Opera browser, I had to switch to bright mode using the switch at the top right corner of the CW window. In dark mode, the dark text was really hard to read.
I would prefer a project configuration in CW in which Check for arithmetic overflow is activated. I would rather not know how often an undetected integer overflow occurs in the random tests for both the user code and the sensei code and the solution is considered valid.
the solution is displayed as best pratices but DRY (LCM(x, y) is calculated twice)
I assume that I can transfer the characters correctly from the browser to VS, i.e. converting from UTF8 to Unicode. `
I would like to know why there are so few solutions with Linq (estimated less than 10% of the solutions are done with Linq), although a Linq solution can usually be understood much faster than an interative solution
Thank you very much. I have found a nice Linq solution with SingleOrDefault()
(csharp)I can't find out why the result for this input:
should be:
notice: some strings start with '+' und some strings start with '8' and some with '*'
Can someone help me please?
(C#) In VS the random tests use \n but the tests defined by verbatim strings (i.e. @"...") use \r\n AFTER copying to VS.The codewars environment uses \n in both cases. Your solution should replace as first operation \r\n by \n:
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
The windows ansi (e.g) encoding for "¤" is 164 but the UTF8-Encoding for "¤" is: {194, 164} or in Trinary {"21012", "20002"}. The question mark means there is no valid UTF8 encoding given.
As you can see in https://en.wikipedia.org/wiki/UTF-8 under the heading "Code point UTF-8 conversion" there are 2 bytes required for the character "¤" resp. ¤c resp. Ansi1252 = 164
The assert should be
Please note the inserted 021012.
This comment is hidden because it contains spoiler information about the solution
I suggest adding test cases where the date of birth is exactly n years before the current date and is in a leap year
What a wonderful kata. After you solved it you will like it.
This comment is hidden because it contains spoiler information about the solution
Loading more items...