15
sevaader
3 13 28
1037/ 1195
Last seen 5 months ago
Member for 11 years, 6 months, 10 days
Difficulty Normal
Best reviews / Newest reviews
First-Kush82 2
it's a complicated solution ! More
First-Sim0000 2 1
Capital.city_name or self.city_name in name method. Which one is correct ? More
First-sleepyone 1
partial, full = partial, full +1 is useless. why not just full = full +1 More
Brothers-spoty 1
I understand your code, as f is the already visited list, and d the list of friends extended each time, but ... what's the idea with sum ?? More
Second-niyaton
readability is important, excellent ! More
Simple hashlib - First-erik.white.2014
thx god for u, we don't have 2000 ways to encrypt data ;-) More
First-ws00262753 1
the best solution i'v read for the moment. More
camelCase-bryukh 1
I think my solution is simpler. More
Simple bruteforce-HonzaKral
areas.add(area(data, (ax, ay), (ox, oy))) the best I've read. More
First-Avaris 1
Good one. Is there a way to left function sooner than testing all rectangles ? from biggest rectangles to smallest ? More
Product (row,col) , can be written in one line-sevaader
Thanks for your comments. do u have any suggestion for the 2 lists ? => grid[x][y] for x,y in product(xrange(row-1, row+2),xrange(col-1, col+2)) it's less readable i think. I agree with line 8 isInRow = lambda x: 0 <= x < SIZE_X isInCol = lambda y: 0 <= y < SIZE_Y sum([ grid[x][y] for x,y in prod More
Simple Iteration-LostxinthexMusic
I have pretty same solution using product to scan the product [row-1, row, row+1],[col-1, col, col+1] More
Breadth first search-gimbo
same level , same ideas ? yes ! it looks like a graph pb not a set pb. I used a defaultdict(dict) to save a directed edge. More