摘要:
把 O 看成了 0 调了一上午。 \(Solution\) 我们考虑用线性基来搞,然后有几个 \(P_i\),答案就是 \(2^x\)。 /* Work by: TLE_Automation */ #include<cmath> #include<queue> #include<cstdio> #i 阅读全文
posted @ 2022-05-22 11:06
TLE_Automation
阅读(39)
评论(0)
推荐(1)
摘要:
$1.$ $\gcd(0, x) = x$ 不能除 $0$ 和 $\bmod 0$ 倍增求LCA的时候 f数组开成 f[N][30] 比 f[30][N] 快一倍!!! 莫队的排序要 sort (q + 1, q + Qnum + 1, cmp)!! 是真正的询问的个数!! 做题的时候要考虑到循环是 阅读全文
posted @ 2022-05-22 07:46
TLE_Automation
阅读(16)
评论(0)
推荐(0)

珂朵莉树
浙公网安备 33010602011771号