摘要:
1 #include <bits/stdc++.h> 2 typedef long long ll; 3 using namespace std; 4 #define _for(i,a,b) for(int i = (a);i < b;i ++) 5 #define _rep(i,a,b) for(int i = (a);i > b;i --) 6 #define INF 0x3f3f3f3f 7 阅读全文
摘要:
暂时 阅读全文
摘要:
1 #define _for(i,a,b) for(int i = (a);i b;i --) 3 #define INF 0x3f3f3f3f 4 #define MOD 1000000007 5 #define pb push_back 6 #define maxn 100003 7 8 int par[maxn]; //父亲 9 int high[maxn]; //树的... 阅读全文
摘要:
1 #define _for(i,a,b) for(int i = (a);i b;i --) 3 #define INF 0x3f3f3f3f 4 #define MOD 1000000007 5 #define pb push_back 6 #define maxn 100003 7 typedef long long ll; 8 class Solution 9 { 10... 阅读全文
摘要:
1 #define _for(i,a,b) for(int i = (a);i b;i --) 3 #define INF 0x3f3f3f3f 4 #define MOD 1000000007 5 #define pb push_back 6 #define maxn 10003 7 8 class Solution 9 { 10 public: 11 ... 阅读全文