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 have fixed the Haskell translation to generate inputs
0 .. 100_000
, instead of1200
a hundred times (perimeter 1200 * x
is(perimeter 1200) * x
, notperimeter (1200 * x)
). Also added explicit import and export lists where applicable, and moved showing inputs to failure messages.ETA: Some solutions have been invalidated because of insufficient performance.
100_000
may be higher than you intended.Genius!
Clone the list, before using those methods.
it gives mutation error, how to resolve that in python? I have used both remove and pop methods...
Approved
This comment is hidden because it contains spoiler information about the solution
We can't see your code and the tests are fine. Please read this fully before creating a kata issue: https://docs.codewars.com/training/troubleshooting
O meu código passou em 30 testes e não passou em 2, onde nesses 2 estava pedindo para retornar uma lista, enquanto nos outros testes eu retornei apenas tuplas e funcionou.
Lua translation!
marking issue as resolved, as both katas you refer as duplicates are retired now. If there are any other duplicates, please raise a new issue.
Yes.
toSorted
was added in some newer version of Node, and unfortunately is not available on Codewars.TypeError: arr.toSorted is not a function ??????????
you gotta be joking
mistake improves us
it aasked you to convert not replace. you have to convert it to an integer or float. float is the best solution as it support decimal.
Loading more items...