如题。用了三天……主要还是因为太懒,以后codeforces(div.2)或(div.1 + div2)只要参加了就写个题解。
放上我的代码格式,是用杜老师的%%%
1 #include <iostream> 2 #include <cstdio> 3 #include <algorithm> 4 #include <cstring> 5 #include <vector> 6 #define rep(x, l, r) for(int x = (int)l; x <= (int)r; x++) 7 #define repd(x, r, l) for(int x = (int)r; x >= (int)l; x--) 8 #define clr(x,y) memset(x, y, sizeof(x)) 9 #define all(x) begin(x), end(x) 10 #define pb push_back 11 #define mp make_pair 12 #define MAXN 13 #define fi first 14 #define se second 15 #define SZ(x) ((int)x.size()) 16 using namespace std; 17 typedef long long LL; 18 typedef vector<int> vi; 19 typedef pair<int, int> pii; 20 const int INF = 1 << 30; 21 const int p = 10000007; 22 //head by DYH 23 24 int main(){ 25 26 return 0; 27 }