Uber OA Question

Правка en1, от coder0687, 2024-05-19 22:52:58

Given A, B, C, D. Find $$$\sum\limits_{i = A}^B \sum\limits_{j = C}^D i⊕j$$$

Constraints:

1 <= A <= B <= $$$10^9$$$

1 <= C <= D <= $$$10^9$$$

How to approach this, any suggestion will be helpful?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский coder0687 2024-05-19 22:52:58 211 Initial revision (published)