题目链接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...
题目链接http://codeforces.com/contest/1008/problem/A题目Vitya has just started learning Berlanese language. It is known that Berlanese uses the Latin alphabet. Vowel letters are "a", "o", "u", "i", and "...
题目链接http://codeforces.com/contest/989/problem/A题目The landscape can be expressed as a row of consecutive cells, each of which either contains a flower of colour amber or buff or canary yellow, or is...