保存于此,以便在外机登陆时取用。
另,需使用线段树时或其他定义时可自行修改,以免引起歧义而编译错误,这里不以添加。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
| #pragma G++ optimize (2) #include <iostream> #include <cstdio> #include <cmath> #include <cstring> #include <cstdlib> #include <algorithm> #include <string> #include <queue> #include <vector> #define INF 0x3f3f3f3f #define NO 30005 #define MO 100005 #define mp(x, y) make_pair(x, y) #define fi first #define se second #define lln putchar('\n') typedef long long ll; typedef double db; using namespace std; typedef pair<int, int> pii; inline ll read() { char ch = ' ', last; ll ans = 0; while (ch < '0' || ch > '9') last = ch, ch = getchar(); while (ch >= '0' && ch <= '9') ans = ans * 10 + int(ch - '0'), ch = getchar(); if (last == '-') return -ans; return ans; } void write(ll x) { if (x >= 10) write(x / 10); putchar(x % 10 + '0'); }
void init() { }
int main() { init(); return 0; }
|