首先恭喜 xht37 喜提本场 rk1。 考场上想到线性基了不会构造…貌似还有一些别的细节 Description Kuro has just learned about permutations and he is really excited to create a new permutation typ...
线性基
hdu 3949 XOR 题解【线性基】【二进制】
线性基的题都好有意思啊 Problem Description XOR is a kind of bit operator, we define that as follow: for two binary base number A and B, let C=A XOR B, then for each bit of C, we can get it...
洛谷 P3265 / loj 2108 [JLOI2015]装备购买 题解【贪心】【线性基】
线性基思想入门题。 题目描述 脸哥最近在玩一款神奇的游戏,这个游戏里有 $latex n$ 件装备,每件装备有 $latex m$ 个属性,用向量 $latex \mathbf z_i=(a_1, \ldots ,a_j, \ldots , a_m)$ 表示 $latex ...