kata broken (python) by the new runner. Need corrections
to_string() is essentially a wrapper for impl Display. I think this is the u64 implementation of it: https://doc.rust-lang.org/src/core/fmt/num.rs.html#199-258 Looks like there is some cost, but I can't speak to how much of it is optimized out in release mode.
Does to_string cost much?
Which error should I raise out when I'm using Python?..
Anyone tells me which error should I throw out in Python?
I added a note, that python 2 is used. Thanks!
Couldn't fuck py27 any more.
I've finished it in half an hour, however I've spent almost 2 hours and a half to detect out many differences between py27 and py3.
What sucks the most is that, what I spent most time on could be a little trick.
In py3, metaclass is a keyword when initilizing classes, while py2 use a static member named __metaclass__ to do the same things.
This comment is hidden because it contains spoiler information about the solution
Em.... Sorry for my crazy words last night...
At that time, I didn't find that this is my kata, and I've done quite a lot things seems to be cheating.
When you replid, I'm so exhausted that I just thought you were talking about my cheating(I find the context can suite the both...
Now, as you see, I've deleted my old account :(