题目链接: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...
题目链接:http://codeforces.com/contest/975/problem/C题目:Ivar the Boneless is a great leader. He is trying to capture Kattegat from Lagertha. The war has begun and wave after wave Ivar's warriors are fal...
题目链接:http://codeforces.com/contest/975/problem/B题目:Mancala is a game famous in the Middle East. It is played on a board that consists of 14 holes.Initially, each hole has $a_i$ stones. When a playe...
题目链接:http://codeforces.com/contest/975/problem/A题目:In Aramic language words can only represent objects.Words in Aramic have special properties:A word is a root if it does not contain the same lette...