Lang:G++
Edit12345678910111213141516171819202122232425262728293031/************************************************ Author: fisty* Created Time: 2015/4/26 14:32:16* File Name : A.cpp*********************************************** */#include <iostream>#include <cstring>#include <deque>#include <cmath>#include <queue>#include <stack>#include <list>#include <map>#include <set>#include <string>#include <vector>#include <cstdio>#include <bitset>#include <algorithm>using namespace std;#define Debug(x) cout << #x << " " << x <<endl#define Memset(x, a) memset(x, a, sizeof(x))const int INF = 0x3f3f3f3f;typedef long long LL;typedef pair<int, int> P;#define FOR(i, a, b) for(int i = a;i < b; i++)#define MAX_N 55int main() {//freopen("in.cpp", "r", stdin);cin.tie(0);ios::sync_with_stdio(false);