地址https://codeforces.com/contest/1153/problem/B原文地址https://www.lucien.ink/archives/414代码https://pasteme.cn/6248#include <bits/stdc++.h>
const int maxn = 1007;
int N, M, H, m[maxn], n[maxn], h...
地址https://codeforces.com/contest/1153/problem/A原文地址https://www.lucien.ink/archives/413代码https://pasteme.cn/6247#include <bits/stdc++.h>
int main() {
int n, m, min = 0x3f3f3f3f, ans, buf;
...