
点分治
文章平均质量分 76
FZHvampire
这个作者很懒,什么都没留下…
展开
-
【bzoj2152】【聪聪可可】
2152: 聪聪可可Time Limit: 3 Sec Memory Limit: 259 MB Submit: 924 Solved: 487 [Submit][Status][Discuss] Description聪聪和可可是兄弟俩,他们俩经常为了一些琐事打起来,例如家中只剩下最后一根冰棍而两人都想吃、两个人都想玩儿电脑(可是他们家只有一台电脑)……遇到这种问题,一般情况下石头剪刀布原创 2015-06-21 14:12:23 · 1230 阅读 · 0 评论 -
【poj1741】【Tree】
TreeTime Limit: 1000MS Memory Limit: 30000K Total Submissions: 13068 Accepted: 4195 DescriptionGive a tree with n vertices,each edge has a length(positive integer less than 1001). Defin原创 2015-06-21 14:22:22 · 1073 阅读 · 0 评论 -
[CODECHEF]Prime Distance On Tree
Prime Distance On Tree题目链接:https://www.codechef.com/problems/PRIMEDSTProblem description.You are given a tree. If we select 2 distinct nodes uniformly at random, what’s the probability that the distanc原创 2016-01-11 20:56:51 · 920 阅读 · 0 评论