Codeforces 1082D - Maximum Diameter Graph - 贪心题解链接https://lucien.ink题目链接https://codeforces.com/contest/1082/problem/D题目Graph constructive problems are back! This time the graph you are asked to bui...
Codeforces 1082B - Vova and Trophies题解链接https://lucien.ink题目链接https://codeforces.com/contest/1082/problem/B题目 Vova has won $n$ trophies in different competitions. Each trophy is either g...
题目链接http://acm.hdu.edu.cn/showproblem.php?pid=6396题目Lawson is a magic swordsman with k kinds of magic attributes v1,v2,v3,…,vk. Now Lawson is faced with n monsters and the i-th monster also has k k...
题目链接http://codeforces.com/contest/1008/problem/C题目You are given an array of integers. Vasya can permute (change order) its integers. He wants to do it so that as many as possible integers will beco...
题目链接http://codeforces.com/contest/985/problem/D题目You are going to the beach with the idea to build the greatest sand castle ever in your head! The beach is not as three-dimensional as you could hav...