题目 代码(正确性未知) #include <bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<int, int> PII; typedef pair<double, double> PDD; int dx[] = {-1, 1, 0, 0}, dy[] = {0, 0, -1, 1}; const double eps = 1e-8; const int N = 1e5 + 10, M = 2 * N; int n, m, q; int h[N], e[M], ...