Created
December 15, 2016 03:19
-
-
Save tshu-w/12ef3f7a671da54bb1cbea7e288c3491 to your computer and use it in GitHub Desktop.
ACM/ICPC header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
#define IOS std::ios::sync_with_stdio(false); std::cin.tie(nullptr); std::cout.tie(nullptr); | |
// #define __DEBUG__ | |
#ifdef __DEBUG__ | |
#define DEBUG(...) printf(__VA_ARGS__) | |
#else | |
#define DEBUG(...) | |
#endif | |
#define filename "" | |
#define setfile() freopen(filename".in", "r", stdin); freopen(filename".ans", "w", stdout); | |
#define resetfile() freopen("/dev/tty", "r", stdin); freopen("/dev/tty", "w", stdout); system("more " filename".ans"); | |
#define rep(i, j, k) for (int i = j; i < k; ++i) | |
#define irep(i, j, k) for (int i = j - 1; i >= k; --i) | |
using namespace std; | |
template <typename T> | |
inline T sqr(T a) { return a * a;}; | |
typedef long long ll; | |
typedef unsigned long long ull; | |
typedef long double ld; | |
typedef pair<int, int > Pii; | |
const double pi = acos(-1.0); | |
const int INF = INT_MAX; | |
const int MAX_N = 1e5 + 10; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment