57
veky
22 48 64 Leader of the month
44583/ 53887
Last seen 15 hours ago
Member for 11 years, 6 months, 6 days
Difficulty Advanced
We shall not cease from exploration, and the end of all our exploring will be to arrive where we started and know the place for the first time.

Best reviews / Newest reviews
First-james.verran
You're going overboard with European Association of Fish Pathologists. Generalizing case n=2 is not really productive. And beating someone to death with a loaded uzi is really not fun. :-P Look, your lines 10~17 can be: if "XXX" in candidates: return "X" if "OOO" in candidates: return "O More
class Dude-james.verran
Duuude. :-] Just one nitpick: line 31, please learn about >2-arg form of map. It could come handy. ;-) More
First-Starlight17 2
You could have avoided all that boilerplate with import functools, re checkio = functools.partial(re.match, r'...your wonderful regex...') More
First-smilicic
First a puzzle: that duplication in lines 19 and 6 really stands out. Can you trivially change your code to eliminate it? :-] And now for the usual nitpicking: * Line 4 could (should?) be: if x == y == 10. * That list of lists of tuples and strs really should be a dict. It has .items() meth More
First-smilicic
Aaargh. That's all I'll say here. :-P More
OilPie-bunnychai
"size+g" is not really clear. But neither is input format, so... :-) More
First-smilicic
Hm, this gives me some [idea](http://www.checkio.org/mission/digit-stack/publications/veky/python-3/pointless/)s... :-] More
Second-martin.beseda.3
About that horrible line 17, I think I have good news for you: tuple comparisons. (a, b) < (c, d) <~~~> a < c or a == c and b < d You can also learn about key argument to min and max. More
Half-veky
> The shorter your code, the more remarkable you are. Then I am https://remarkable.com/ :-D More
Scoped-veky 1
Which digit is used at the end of line 6? :-) More
XOR-StefanPochmann 1
I have a feeling I'll like your solutions. :-D More
First-restingsound 2
_This_ you call clear? And you're telling me my solutions aren't clear? Man, I hope you're just a troll... Rebinding a builtin name, unnecessary list comprehension, totally pointless comment, masquerading bound method as a staticmethod... there are more headaches than lines in that code. :-( More
First-restingsound 1
This one made me laugh. :-D Though, do you really think line 2 does something? How is splitWords eaiser to understand than words.split()? More
First-tuxninja
This doesn't really make sense. But you know that, right? :-) More
50 (based on przemyslaw.daniel's 62 and artakase's 59)-StefanPochmann 1
Ha, that one was obvious, this one not really. Though I'm not sure whether that should be worth more or fewer thumbs... Ok, have your five, you scrooge. :-P More
Second-tuxninja
You don't need "+" in your regexen (you even don't have it in the first one:). And you don't need r here, though maybe it is good to always write it to remind you of regex parsing. But the last one then really ought to be \d. ;-) Also, you don't need bool around the first condition, and even on the More
First-tuxninja
Nice reorganization into tens and dups, but the code has some horrible duplication. You can do much better. ;-] Here is an interesting approach, that tries to stay faithful to your algorithm. Of course, if you're willing to depart a little from your original algo, you'll be able to write much bette More
Functional DP-nickie 1
Yes. :-) But why do you listify p[-1] at the end? More
66 :-O-veky 1
Honestly, this surprised even me. :-D More
First-gyahun_dash 1
Still too complicated for my taste. But nice. More