2018年6月28日

bzoj 1036 [ZJOI2008]树的统计Count

摘要: 题目:https://www.lydsy.com/JudgeOnline/problem.php?id=1036 水到不行的LCT模板。 需要注意读入val之后再link,才能pshp上。 十分需要注意把mx[0]弄成-30005。唉,这个还是看了TJ。但改了就A了还是好高兴。 主要是在emacs上 阅读全文

posted @ 2018-06-28 16:41 Narh 阅读(126) 评论(0) 推荐(0) 编辑

bzoj 2594 [Wc2006]水管局长数据加强版

摘要: 题目:https://www.lydsy.com/JudgeOnline/problem.php?id=2594 据说写得丑会TLE。反正我T了好久…… 这道题时间倒流一下就是 bzoj3669魔法森林 了。 0.我好……呀,竟然没深入想想应该是二分找到每个询问对应的边! *1.一开始的加边要按kr 阅读全文

posted @ 2018-06-28 10:57 Narh 阅读(107) 评论(0) 推荐(0) 编辑

bzoj 1000 A+B Problem (And also my first experience of Emacs)

摘要: problem:https://www.lydsy.com/JudgeOnline/problem.php?id=1000 This is my first code under Emacs! #include<iostream> #include<cstdio> #include<cstring> 阅读全文

posted @ 2018-06-28 00:19 Narh 阅读(191) 评论(0) 推荐(0) 编辑

导航