0%

Problem 813


Problem 813


Xem đề gốc (tiếng Anh)

Lũy thừa XOR

$f(a, b) = a^{a \oplus b}$. Tính $\sum_{a,b=0}^{10^6} f(a,b) \pmod{10^9+7}$.


Xem markdown