合集 莫比乌斯反演

持续update

BZOJ2005 [NOI2010 能量采集]

传送门

题目大意

求:
$$
2\sum_{i=1}^n\sum_{j=1}^m(i,j)-nm\
n,m\le10^5
$$

胡闹 斐波那契

题目大意


$$
\sum_{i=1}^n\sum_{j=1}^mgcd(Fib_i,Fib_j)
$$

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×