This comment is hidden because it contains spoiler information about the solution
Yes.
It can consume huge amount of memory, right?
I find your solution of pred to be both amazingly simple and elegant.
pred
Approved
What's the problem with the package statement? I don't think it can cause any problem.
You can use
object solution { // things originally in your package }
though.
Could you please rate this Kata and give your satisfaction?
Otherwise this Kata will never get approved to be a non-beta Kata (which means non of you guys will actually earn honor by doing this).
Anyway we can remove the package solution? Tripped by this once
package solution
If you've just finished doing this and pass-by here, please provide your feedback above. This Kata is a long standing one and I really hope it can get approved one day.
This comment is hidden because it contains spoiler information about the solution
Yes.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It can consume huge amount of memory, right?
I find your solution of
pred
to be both amazingly simple and elegant.This comment is hidden because it contains spoiler information about the solution
Approved
What's the problem with the package statement? I don't think it can cause any problem.
You can use
though.
Could you please rate this Kata and give your satisfaction?

Otherwise this Kata will never get approved to be a non-beta Kata (which means non of you guys will actually earn honor by doing this).
Anyway we can remove the
package solution
? Tripped by this onceIf you've just finished doing this and pass-by here, please provide your feedback above.
This Kata is a long standing one and I really hope it can get approved one day.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...