题目链接http://codeforces.com/contest/987/problem/B题目Year 2118. Androids are in mass production for decades now, and they do all the work for humans. But androids have to go to school to be able to sol...
题目链接http://codeforces.com/contest/987/problem/A题目You took a peek on Thanos wearing Infinity Gauntlet. In the Gauntlet there is a place for six Infinity Gems:the Power Gem of purple color,the Time G...
题目链接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...
题目链接http://codeforces.com/contest/985/problem/C题目You have m = n·k wooden staves. The i-th stave has length ai. You have to assemble n barrels consisting of k staves each, you can use any k staves t...
题目链接http://codeforces.com/contest/985/problem/B题目You are given n switches and m lamps. The i-th switch turns on some subset of the lamps. This information is given as the matrix a consisting of n r...