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
C# Translation
this kata should enforce the use of a regexp by having the user provide it as variable, as should be done in all regexp katas.
The picture in the details is not available anymore.
Reference solution and fixed tests also ignore any situation where both person have
0yo
in age (which would be twice the age of the other, since0 * 2 = 0
):Reference solution is demonstrably wrong:
These two range will sum up to
365
as none of the ranges hit leap years.chai
/assert
) should be enabledC Translation
The Swift tests are still broken.
The sample tests fail by themselves independent of the solution code: https://i.imgur.com/qwh8jTm.png
The "attempt" random tests expect the wrong results for "8.2M ohms" ( https://i.imgur.com/21Xarxu.png ) and "4.1M ohms". ( https://i.imgur.com/ppBHn61.png )
Tests have a problem. They do not detect an error when there is a resistor value like "4.7M ohms". My code answered a wrong value and still passed the tests.
Node 18 (
mocha
+chai
) should be enabled (Refer this and this for more info)Ruby 3.0 should be enabled (Refer this & this for more detail)
mocha
+chai
) should be enabled (Refer this and this for more info)In Python, the special message and the
# -*- coding: utf-8 -*-
are not necessary anymore since only Python 3.6 is allowed.@tachyonlabs Anybody?..
Crystal version seems to require integer overflow in order to pass the tests. The tests should be updated to use
Int64
where appropriate.Loading more items...