Can someone hint me on this problem

Правка en1, от SPyofgame, 2020-06-21 13:14:53

There is an empty rectangle of size

$$$n \times m$$$
$$$1 \leq n, m \leq 1e6$$$

We cover the rectangles k times from (u1, v1) to (u2, v2), where

$$$1 \leq k \leq 400$$$
$$$1 \leq u1 \leq u2 \leq n$$$
$$$1 \leq v1 \leq v2 \leq m$$$

The question is: How many squares of that rectangle have been covered ?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский SPyofgame 2020-06-21 13:15:52 9 Tiny change: 'times m$$ $$1 \leq ' -> 'times m$$ where $$1 \leq '
en1 Английский SPyofgame 2020-06-21 13:14:53 337 Initial revision (published)