30
bunnychai
9 26 35
4515/ 5195
Bunny Chai
Last seen 2 years ago
Member for 11 years, 5 months, 24 days
Difficulty Normal
########## #|_) ._ ._ # #|_)|_| || |\/ # ####### /##

Best reviews / Newest reviews
First-bukebuer 1 1
how about assert shot((0, 0), (1, 1), (3, 3), (2, 2)) == 0, "shot in butt of wall" ? More
Forgetful Prisoner-vinc 1
we use similar strategy, but mine is slightly more complicated, i think this is quite stable, so far, yours and mine are the only non-random solutions that could pass 10000 random mazes... More
InsideBlock (winding number)-bunnychai
for integer inputs, no floating point comparison and arithmetic... More
First-viktor.pecheniuk
line too long, can't read the entire line More
First-bunnychai 1
because the matrix is special, so as the inverse, so no need to find inverse or do elimination explicitly... More
First-madmanbob
overkill but nice formulation of transition matrix at each step, either +1 or -1, so becomes 1-i/len or i/len, to not to be picked or to be picked More
Maths - with proof-Juge_Ti 1
we got the same formula but I don't bother to write down the proof... More
Globvar + map()-AlexeyIvchenko
global S S = 0 are not needed More
Bunny's simplified-nickie
very good very nice use of set of set More
line geometry-bunnychai
Alternatively, solved using concepts of projective geometry in [here](http://www.checkio.org/mission/cakes-rows/publications/bunnychai/python-3/projective-geometry/). More
RemoveAccents-bunnychai 1
this solution is damn wrong, but I like exploiting with the tests... More
Rough solution-pcresolver
u may use: summary = [0] * 365 or just use Counter, in which the cnt is automatically set to 0 for u More
right-to-left for the lazy-p4r4d0x42 1
better use join than playing with ',' More
Use of global variable-Ardrake
def checkio(data): list(map(add, data)) return total just a little bit more simplified... More
First-blabaster 1
what's the idea? how do the guys 'surround' the chicken? More
Safe coasts. Straightforward, flood-vinc 1
would be better if could pass pep8 More