摘要:
"题目" 题意 给出一棵 $N$($N \le 10^5$)个点的树,有点权和边权。回答 $q$($q \le 10^5$) 组询问: ($u, r$):距离节点 $u$ 不超过 $r$ 的点中权值最大的点 输出点的编号,如有多解,输出最小编号。 Time Limit: 每个测试点 3s 做法 离线 阅读全文
「以解决问题为乐」
真的喜欢么?真的喜欢就去做吧。
Lost Boy Calling 。。。。
... Many of these issues are best dealt with at the algorithmic level, rather than by "tweaking" the code.
This is an obscurity that catches the unwary.
原来我什么都不懂。