摘要:
很久以前就见过的。。。最基本的概率DP。。。除法配合位运算可以很容易的判断下一场要和谁比。 from——Dinic算法 FootballTime Limit:1000MSMemory Limit:65536KTotal Submissions:2499Accepted:1258DescriptionConsider a single-elimination football tournament involving 2nteams, denoted 1, 2, …, 2n. In each round of the tournament, all teams still... 阅读全文
摘要:
分段的概率DP+矩阵快速幂 Scout YYF ITime Limit:1000MSMemory Limit:65536KTotal Submissions:4180Accepted:1076DescriptionYYF is a couragous scout. Now he is on a dangerous mission which is to penetrate into the enemy's base. After overcoming a series difficulties, YYF is now at the start of enemy's famo.. 阅读全文