2018徐州邀请赛I - T-shirt - 矩阵快速幂
题目题目描述JSZKC is going to spend his vacation! His vacation has N days. Each day, he can choose a T-shirt to wear. Obviously, he doesn’t want to wear a singer color T-shirt since others will consider ...
题目题目描述JSZKC is going to spend his vacation! His vacation has N days. Each day, he can choose a T-shirt to wear. Obviously, he doesn’t want to wear a singer color T-shirt since others will consider ...
这场比赛很快秒了A和C,B题一直不会做,百度了一下才想起来对两边取对数,还是太笨了。B题浪费了太多时间,做完B就只剩40多分钟了,然后看了一下选择开E,结果从剩下20多分钟开始大家都开始交随机数,导致CF的网站一度接近挂了,我在截止前25分钟交的一发E在赛后第2个小时的时候都还是在队列里...交了E之后一直在队列里就去看D了,看了一下范围一直在想$O(n·log_2m...
题目链接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...