Skip to content

Instantly share code, notes, and snippets.

@mastersobg
Created May 15, 2012 20:41
Show Gist options
  • Select an option

  • Save mastersobg/2704977 to your computer and use it in GitHub Desktop.

Select an option

Save mastersobg/2704977 to your computer and use it in GitHub Desktop.
#include<iostream>
#include<cstdio>
#include<set>
#include<map>
#include<vector>
#include<queue>
#include<algorithm>
#include<string>
#include<cstring>
#include<memory.h>
#include<cmath>
#include<cassert>
#include<sstream>
#include<cstdlib>
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
typedef vector<int> vi;
typedef vector<vi> vii;
typedef vector<pii> vpii;
#define x first
#define y second
#define mp make_pair
#define pb push_back
#define dbg( x ) { cerr << #x << "=" << x << endl; }
#define dbgv( v ) { cerr << #v << "={";for( int I=0;I<(int)(v).size();++I)cerr << " " << (v)[i];cerr<<" }\n"; }
#define dbgm( v, n ) { cerr << #v << "={";for( int I=0;I<n;++I)cerr << " " << (v)[i];cerr<<" }\n"; }
const int INF = 1 << 29;
int main() {
freopen( "in", "r", stdin );
freopen( "out", "w", stdout );
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment