Skip to content

Instantly share code, notes, and snippets.

@YetAnotherMinion
Created September 19, 2015 17:25
Show Gist options
  • Save YetAnotherMinion/849c10b99d9e4fb48666 to your computer and use it in GitHub Desktop.
Save YetAnotherMinion/849c10b99d9e4fb48666 to your computer and use it in GitHub Desktop.
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <deque>
#include <queue>
#include <set>
#include <map>
#include <algorithm>
#include <functional>
#include <utility>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <cstdio>
#include <stdint.h>
using namespace std;
#define REP(i,n) for((i)=0;(i)<(int)(n);(i)++)
#define foreach(c,itr) for(__typeof((c).begin()) itr=(c).begin();itr!=(c).end();itr++)
typedef long long ll;
#define MOD 1000003ll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment