摘要:
E - BBQ Hard Time limit : 2sec / Memory limit : 256MB Score : 1400 points Problem Statement Snuke is having another barbeque party. This time, he will 阅读全文
posted @ 2018-03-28 22:23
蒟蒻JHY
阅读(353)
评论(0)
推荐(0)
摘要:
Problem Statement 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 阅读全文
posted @ 2018-03-28 21:17
蒟蒻JHY
阅读(315)
评论(0)
推荐(0)
摘要:
4919: [Lydsy1706月赛]大根堆 Description 给定一棵n个节点的有根树,编号依次为1到n,其中1号点为根节点。每个点有一个权值v_i。 你需要将这棵树转化成一个大根堆。确切地说,你需要选择尽可能多的节点,满足大根堆的性质:对于任意两个点i,j,如果i在树上是j的祖先,那么v_ 阅读全文
posted @ 2018-03-28 16:42
蒟蒻JHY
阅读(467)
评论(0)
推荐(0)

浙公网安备 33010602011771号