This potentially sorts the array twice. Even if the compiler magically optimizes the second sort away, you're still sorting the whole array, which is much more work than you need to do.
I would rather code this game alone
I see, thanks!
true
false
bool
srand
Thank you for your feedback
Swift translation (:
C translation :)
See your last equation (10 * 13 = 130)? There is a space missing between '3' and '='
Horrible solution
This comment is hidden because it contains spoiler information about the solution
'alr approved some time ago'
Swift translation :)
Loading collection data...
This potentially sorts the array twice. Even if the compiler magically optimizes the second sort away, you're still sorting the whole array, which is much more work than you need to do.
I would rather code this game alone
I see, thanks!
true
andfalse
the function's output type should be changed tobool
srand
at allThank you for your feedback
Swift translation (:
C translation :)
See your last equation (10 * 13 = 130)? There is a space missing between '3' and '='
Horrible solution
This comment is hidden because it contains spoiler information about the solution
'alr approved some time ago'
Swift translation :)