Lang:G++
Edit12345678910111213141516171819202122232425262728293031/********Good Luck***********Author: yeahpeng**Time: 2015-08-30-19.01***************************/#define _CRT_SECURE_NO_WARNINGS#include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>#include <string>#include <algorithm>#include <stack>#include <map>#include <queue>#include <vector>#include <set>#include <functional>#include <cmath>#include <numeric>//#pragma comment(linker, "/STACK:102400000,102400000")#define Zero(x) memset((x),0, sizeof(x))#define Neg(x) memset((x), -1, sizeof(x))#define dg(x) cout << #x << " = " << x << endl#define dg2(x1, x2) cout << #x1 << " = " << x1 << " " << #x2 << " = " << x2 << endl#define pk(x) push_back(x)#define pok() pop_back()