09 2019 档案
摘要:https://codeforces.com/gym/253910/problem/F F. Kyoya and Colored Balls time limit per test 2 seconds memory limit per test 256 megabytes input standar
阅读全文
摘要:https://codeforces.com/gym/253910/problem/D D. Haar Features time limit per test 1 second memory limit per test 256 megabytes input standard input out
阅读全文
摘要:题目 大意:构造一个n行n列的矩阵,使得每一行,每一列的异或和都相等,n是4的倍数。 先看4*4的矩阵,我们很容易构造出符合要求的矩阵,比如 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 这个矩阵每行每列的异或和都为0 对于一个n*n的矩阵,我们可以写成多个4*4的矩阵
阅读全文