题目链接https://www.nowcoder.com/acm/contest/145/C题目描述A binary string s of length $N = 2^n$ is given. You will perform the following operation n times :Choose one of the operators AND (&), OR (|) or XO...
题目链接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 "...
987的时候B不会做,这场C不会做,感觉很接近退役了。当时想到了类似的做法,先把最少的一个用到只剩一个,然后用那一个铺满图,但是很难写,写了一个多小时也没写出来。Codeforces-989A - A Blend of Springtime - 水题Codeforces-989B - A Tide of Riverscape - 思维Codeforces-989C -...