摘要: Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description There is a cycle with its center on the origin. Now give you a point 阅读全文
posted @ 2016-07-20 19:21 君子酱 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Time Limit:3000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Description When playing DotA with god-like rivals and pig-like team members, you 阅读全文
posted @ 2016-07-20 19:11 君子酱 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 原文请点击此处:【线段树】线段树入门之入门 线段树的入门级 总结 线段树是一种二叉搜索树,与区间树相似,它将一个区间划分成一些单元区间,每个单元区间对应线段树中的一个叶结点。 对于线段树中的每一个非叶子节点[a,b],它的左儿子表示的区间为[a,(a+b)/2],右儿子表示的区间为[(a+b)/2+ 阅读全文
posted @ 2016-07-20 16:41 君子酱 阅读(88) 评论(0) 推荐(0) 编辑