Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
2-lines: Bruteforce with integers solution in Creative category for Rectangles Union by Phil15
rectangles_union=lambda r:len(set.union(*(set(__import__('itert'
'ools').product(range(x,X),range(y,Y)))for x,y,X,Y in r),set()))
Oct. 18, 2018
Comments: