题目链接http://codeforces.com/contest/987/problem/C题目It is the middle of 2018 and Maria Stepanovna, who lives outside Krasnokamensk (a town in Zabaikalsky region), wants to rent three displays to highl...
题目链接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...