代码块 #include <bits/stdc++.h> using namespace std; #define int long long const int N = 1000 + 10; const int inf = 0x3f3f3f3f3f3f3f3f; int n; typedef lo