938

CF938G Shortest Path Queries

Shortest Path Queries Luogu CF938G 题面翻译 给出一个连通带权无向图,边有边权,要求支持 \(q\) 个操作: \(1\) \(x\) \(y\) \(d\) 在原图中加入一条 \(x\) 到 \(y\) 权值为 \(d\) 的边 \(2\) \(x\) \(y\) ......
Shortest Queries 938G Path 938

[938] How to operate with shapefiles using Geopandas

Geopandas is a Python library that makes working with geospatial data easier by extending the data manipulation capabilities of pandas to spatial data ......
shapefiles Geopandas operate using with

[题解]CF938G Shortest Path Queries

Shortest Path Queries 给你一张无向连通图,支持三种操作: 插入一条边 \((u, v, w)\)。 删除一条边。 求 \((u, v)\) 之间的异或最短路。 \(n, m, 1 < 2^{30}\)。 先考虑异或最短路怎么求,这部分和 最大XOR和路径 是一样的。就是把图上的 ......
题解 Shortest Queries 938G Path

CF938F Erasing Substrings 题解

Erasing Substrings 一个神奇的想法是设 \(f_{i,j}\) 表示在位置 \([1,i]\) 中,我们删去了长度为 \(2^k(k\in j)\) 的一些串,所能得到的最小字典序。使用二分加哈希可以做到 \(O(n^2\log^2 n)\),无法承受。 发现对于状态 \(f_{i ......
题解 Substrings Erasing 938F 938

CF938G

[原题](https://codeforces.com/problemset/problem/938/G) [翻译](https://www.luogu.com.cn/problem/CF938G) 老规矩,对于不可做的这种操作题先考虑没有修改操作怎么做 这时问题就变为了给你一个联通的图,让你找一条 ......
938G 938 CF

CF938G Shortest Path Queries 题解

[TOC] # 题目链接 [CF938G](https://www.luogu.com.cn/problem/CF938G "CF938G") 洛谷挂了 只能交CF # 题目分析 本题有以下几个关键点: ## 为什么使用生成树建树 首先 根据 $WC2011$ 我们发现可以使用 $dfs$ 序来保存 ......
题解 Shortest Queries 938G Path
共6篇  :1/1页 首页上一页1下一页尾页