摘要:
Description 人的一生不仅要靠自我奋斗,还要考虑到历史的行程。 历史的行程可以抽象成一个 01 串,作为一个年纪比较大的人,你希望从历史的行程中获得一些姿势。 你发现在历史的不同时刻,不断的有相同的事情发生。比如,有两个人同时在世纪之交 11 年的时候上台,同样喜欢与洋人谈笑风生,同样提出 阅读全文
摘要:
Description One day, Takahashi was given the following problem from Aoki: You are given a tree with N vertices and an integer K. The vertices are numb 阅读全文
摘要:
Description Snuke loves colorful balls. He has a total of N*K balls, K in each of his favorite N colors. The colors are numbered 1 through N.He will a 阅读全文
摘要:
Description Description Description Description Artsem is on vacation and wants to buy souvenirs for his two teammates. There are n souvenir shops alo 阅读全文
摘要:
Description Miceren likes playing with brackets. There are N brackets on his desk forming a sequence. In his spare time, he will do Q operations on th 阅读全文
摘要:
Description As we know, Rikka is poor at math. Yuta is worrying about this situation, so he gives Rikka some math tasks to practice. There is one of t 阅读全文
摘要:
原题链接 Description Description Ember和Storm正在玩游戏。首先,Ember构造一棵n个节点且每个节点度数不超过d的带节点编号的树T。然后,Storm选择两个不同的节点u和v,并写下从u到v路径上的节点编号,记为序列 a1, a2... ak 。最后,Ember在序列 阅读全文