题目链接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/1008/problem/B题目There are $n$ rectangles in a row. You can either turn each rectangle by $90$ degrees or leave it as it is. If you turn a rectangle, its width will...