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.
could you f**k me tonight?)
you're crazy)
oh my god, thank you so much. i even haven't heard about that
Yeah I just wanted to point to the same page and yet again I remembered that I have the "How to translate a kata?" tutorial in my backlog for waaaaay to long :(
You can refer to the official documentation, but I think it's quite incomplete about this topic: https://docs.codewars.com/authoring/guidelines/translation
Once you solved (or forfeited) a kata, you should see new tabs appear at the top page, below the title and the statistics:
Solutions - forks - ... - Translations
.If you click on
Translations
, you get to a new page, where you can see, at the top, the translations awaiting approvals, and below all the approved translations. Between them, you have a boxTranslate
. If you click it, you get to the translation editor page. You can select any languages the kata has not been translated into (for examplePHP
for this kata), and then you can edit the translation, reference solution, sample tests, attempt tests, and solution set up. Once you have your translation published and think it's ok, you can post a suggestion on the Discourse page, so that other users can review it and approve it, fix it or give advices about it.If you have concrete questions and have the opportunity, maybe it's handier to ask them on the
#help-translate
channel of CodeWars' Discords server (link is in the left panel).How can we particapate for this. If for exemple I want to add it myself ?
One could say the same for other 51 languages, or thousands of other katas... suggestions are expected to be concrete ideas of improvements of a katas, not plea for new languages. There will be a translation in PHP when someome works on it and gets it approved.
Too sad that there is no php version for this
I published a new version of the translation, if you want the new set up, save your code locally and click
reset
in the trainer.This is a variadic function. You can have a look there to see how it works: https://www.freecodecamp.org/news/args-and-kwargs-in-python/
You can add
*args
as arguments and do your job.python
why is there no arguments in this function? and why the test arguments are just comma-separated numbers? should it be a list? please, correct me if i'm wrong
thank you so much
thank you.
so the formula would be 4 * x + 5 * y = z
And we are looking for the biggist z out there that does not match the equation for any x and y values of positive int, x and y do not need to be the same. It now makes sence.
I want to try it but first, I needed to understand what is the task. (at least I am not the only one with the same problem based on the coments :D)
If you have only 2 types of coins/money denominations (Google translate tells me that this is "номинал денег" I hope that's correct) - let's say you have infinitely many 2-euro coins and infinitely many 3-euro coins:
You can make the TOTAL amounts
2 euros: 1x 2 euro coin/
3 euros: 1x 3 euro coin/
4 euros: 2x 2 euro coin/
5 euros: 1x 2 euro coin, 1x 3 euro coin
etc.
but you CANNOT make 1 euro total.
For a given pair of values (here the pair is 2,3) find the maximum total you CANNOT make.
Hope that helps!
Loading more items...