Codeforces-984A - Game - 思维
题目链接: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/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://www.lucien.ink/archives/208/环境 需要有git、python3,如果没有的话:Ubuntusudo apt install git python3 -yCentOSsudo yum install git python3 -y配置SSR下载安装sudo git clone https://github.com/Luc...
题目链接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...