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 explain how you got 1201, because 2110 is the correct answer. You should make it so the digits are sorted in descending order (essentially a greater number comes before a lesser number, and we can see that your answer is incorrect as 1 comes before 2, but 2 is a greater digit
Let's just say the "state of the art statistical model" isn't really accurate.
(I'm presumming you are talking about cases such as n = 5, score = 7, but I'd say that's covered by the "If this is not possible, return -1" part, if you're referring to something else, please clarify in a comment)
I used "an" because the first syllable is a vowel sound,
an
personally sounds better to me. That being said, I can find both uses on google, and I don't think it's something to worry too much about, though I agree with Kayleigh thatan O(n)
is correct.
Approved!
Fixed, reference solution now uses integer division
I haven't used C# in a long time (this is a translation from 2 years ago), so I might be unaware of this, but does C# allow variable access outside of the function's scope, since that's the only reason that I could think of for this change to be necessary. Not to mention, adding the private modifier directly to the variable causes a compile time error, since (at least from what I can tell) you can't add access modifiers to variables inside a function's scope. Some further clarification would be gratefully appreciated.
Changed
Added the input into the assertion message, NUnit handles showing the actual and expected
Swift translation does not perform the random tests, fixed in fork
Make a function to generate random strings, then in the Male and Female catergories, add a random amount of random strings to each category
added
Fixed
Approved by someone
Issue fixed in every language except
BF Translation
Here's a fork that fixes both of those issues, plus another one where the random tests use the result of the user's solution for the input
Loading more items...