摘要:
https://www.luogu.com.cn/problem/P3865 阅读全文
摘要:
RMQ问题: RMQ(Range Minimum/Maximum Query),区间最值查询。对于长度为n的数列A,回答若干询问RMQ(A,i,j)(i,j include include include using namespace std; typedef long long ll; cons 阅读全文
摘要:
CONNECT https://oj.ismdeep.com/contest/problem?id=1702&pid=2 Problem Description 有nn个顶点,每个顶点有自己的坐标(Xi,Yi,Zi)(Xi,Yi,Zi),现在想把这nn个顶点连接起来,已知连接两个顶点uu和vv的花费 阅读全文