摘要: ```cpp include include include include include define R(a,b,c) for(register int a = (b); a = (c); a) define Max(a,b) ((a) (b) ? (a) : (b)) define Min( 阅读全文
posted @ 2019-07-16 14:36 邱涵的秘密基地 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 给定一棵有n个点的树,询问树上距离为k的点对是否存在。 a faster way in some cases 阅读全文
posted @ 2019-07-16 12:07 邱涵的秘密基地 阅读(141) 评论(0) 推荐(0) 编辑