[优化]提醒后人

P1919 【模板】高精度乘法 | A*B Problem 升级版

原理我搞懂了:$(a+bi)^2=a^2-b^2+2abi$ 这样一起变换,答案就等于虚部的 $\frac{1}{2}$ 了
by chenbs @ 2024-02-05 22:27:37


|