Update the coordinates that lie within the rectangle
for i in range ( N ) : NEW_LINE INDENT updateArray ( A [ i ] [ 0 ] , A [ i ] [ 1 ] , A [ i ] [ 2 ] , A [ i ] [ 3 ] ) ; NEW_LINE DEDENT area = findAreaCovered ( ) ; NEW_LINE print ( area ) NEW_LINE