标签:https lin class href span 异或 有意思 problem inline
全排列减去坏序列
坏序列分三种,容斥一下就好了
比较有意思
\(A=_{i=1}^{100}\{i\},B=_{i=1}^{100}\{i\cdot 2^7\}\),所以\(A_i~xor~ B_j\)两两不同
查询两次后异或\((a,b)\),\(a~xor~b\)可以得到\(A_i\)和\(B_j\),\(A_i~xor~a\)为答案
标签:https lin class href span 异或 有意思 problem inline
原文地址:https://www.cnblogs.com/y2823774827y/p/11517814.html