题目链接http://codeforces.com/contest/985/problem/A题目You are given a chessboard of size $1 × n$. It is guaranteed that n is even. The chessboard is painted like this: "BWBW...BW".Some cells of the boar...
题解链接题目链接https://arc061.contest.atcoder.jp/tasks/arc061_b题目Problem StatementWe have a grid with $H$ rows and $W$ columns. At first, all cells were painted white.Snuke painted N of these cells. The $...
题目链接:http://codeforces.com/contest/984/problem/D题目:For an array $b$ of length $m$ we define the function $f$ as(由于技术原因此处公式显示不全,完整公式请见:CSDN)where $⊕$ is bitwise exclusive OR.For example,$f(1,2,4,8)...
题目链接:http://codeforces.com/contest/984/problem/C题目:You are given several queries. Each query consists of three integers $p$, $q$ and $b$. You need to answer whether the result of $p/q$ in notation ...
题目链接:http://codeforces.com/contest/984/problem/A题目:Two players play a game.Initially there are n integers $a_1,a_2,…,a_n$ written on the board. Each turn a player selects one number and erases it f...