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.
It works now.
thats prolly because we're not supposed to solve it by the regular brute force.. iam sure the values will exceed the maximum of most languages if taken literally
This comment is hidden because it contains spoiler information about the solution
if you didn't change asciiValues, just change "var" to "let"
Overflows in Swift even when using UInt64 (largest integer type)
it's kinda hard to get a variable from a square equasion, and it's something i really can't do
When you know "v" it is said in the description how to find "d".
So knowing "d" you should be able to find "v".
I too dont know how to get speed !
Named parameters with labels? Though "for" might not be the best choice...
well, it was really an error in my code, but still, using "for" or other words in the programming language to pass a parameter into a function isn't the best practice
I don't understand your issue. I am not the Swift translator but I don't see any "for res = 0" in the translation... Maybe there was one in your code? Moreover note that you passed the Swift kata as 478 other people.
error: expected 'in' after for-each pattern
for res=0
don't use "for" when trying to pass parameters in Swift, otherwise tests won't work
Formula for speed seems to be impossible to find
This comment is hidden because it contains spoiler information about the solution