- 博客(5)
- 收藏
- 关注
原创 题解(647.div2)
题解(647.div2)A:Johnny and Ancient ComputerJohnny has recently found an ancient, broken computer. The machine has only one register, which allows one to put in there one variable. Then in one operation, you can shift its bits left or right by at most thre
2020-08-31 00:15:23 497
原创 题解(652.div2)
题解(652.div2)A:FashionabLeeLee is going to fashionably decorate his house for a party, using some regular convex polygons…Lee thinks a regular nn-sided (convex) polygon is beautiful if and only if he can rotate it in such a way that at least one of its
2020-08-31 00:15:14 406
原创 题解(658.div2)
题解(658.div2)A:Common SubsequenceYou are given two arrays of integers a1,…,an and b1,…,bm.Your task is to find a non-empty array c1,…,ck that is a subsequence of a1,…,an and also a subsequence of b1,…,bm If there are multiple answers, find one of the sm
2020-08-31 00:15:01 473
原创 题解(646.div2)
题解(646.div2)A:Odd SelectionShubham has an array a of size n and wants to select exactly x elements from it, such that their sum is odd. These elements do not have to be consecutive. The elements of the array are not guaranteed to be distinct.Tell him w
2020-08-31 00:14:52 807
原创 题解(657.div2)
题解(657.div2)A:Acacius and StringAcacius is studying strings theory. Today he came with the following problem.You are given a string ss of length nn consisting of lowercase English letters and question marks. It is possible to replace question marks wit
2020-08-31 00:14:43 663
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人