题目链接: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/B题目:One day Alex decided to remember childhood when computers were not too powerful and lots of people played only default games. Alex enjoyed playing...
题目链接: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...
题目链接http://codeforces.com/contest/975/problem/D题目Ghosts live in harmony and peace, they travel the space without any purpose other than scare whoever stands in their way.There are n ghosts in the u...