该文被密码保护。 阅读全文
posted @ 2023-02-07 21:19 灰鲭鲨 阅读(0) 评论(0) 推荐(0)
摘要: 题目描述 There are $ n $ points on the plane, the $ i $ -th of which is at $ (x_i, y_i) $ . Tokitsukaze wants to draw a strange rectangular area and pick 阅读全文
posted @ 2023-02-07 20:42 灰鲭鲨 阅读(45) 评论(0) 推荐(0)
摘要: You are given an unrooted weighted tree \(T\) with vertices \(1,2,…,n\). Please answer some queries. We define \(dist(i,j)\) as the distance between v 阅读全文
posted @ 2023-02-07 20:29 灰鲭鲨 阅读(82) 评论(0) 推荐(0)