题目链接http://codeforces.com/contest/987/problem/D题目Some company is going to hold a fair in Byteland. There are n towns in Byteland and m two-way roads between towns. Of course, you can reach any town...
题目链接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...