Skip to content

Instantly share code, notes, and snippets.

@ylogx
Last active December 26, 2015 08:09
Show Gist options
  • Save ylogx/7119987 to your computer and use it in GitHub Desktop.
Save ylogx/7119987 to your computer and use it in GitHub Desktop.
base file for online competition
/*
* Team Fork
*/
#include <list>
#include <utility>
#include <functional>
#include<algorithm> //min(), max(), reverse(), sort(), next_permutation(), prev_permutation(), swap()
#include<iostream>
#include<cassert> //assert()
#include<cmath> //cos(in radians), sin(), tan(), acos(), asin(), atan(), modf(break into frac and inte parts)
//log(), log10(), log2(), pow(), sqrt(), cbrt(), ceil(), floor(), fmod(), abs()
#include<cstdio> //fclose(), fopen(), fprintf(), fscanf(), printf(), scanf(), gets(), puts()
#include<cstdlib> //srand(time(NULL)), rand()
#include<cstring> //memcpy(), strcpy(), strcat(), strcmp(), memset(), strlen(), strtok(), strrchr()
#include<sstream>
#include<string> //to_string(any numerical value), stoi(), stoll()
#include<ctime>
#include<deque> //iterators: begin(), end(), rbegin(), rend()
//access: operator[], at(), front(), back()
//modifiers: push_back(), push_front(), pop_back(), pop_front(), erase(), clear()
#include<map> //begin(), end(), rbegin(), rend(), operator[], at(), clear(), find()
//priority_queue: top(), push(), pop()
#include<queue> //front(), back(), push(), pop()
#include<set> //begin(), end(), rbegin(), rend(), insert(), erase(), clear(), find()
#include<stack> //top(), push(), pop()
#include<vector> //iterators: begin(), end(), rbegin(), rend()
//access: operator[], at(), front(), back()
//modifiers: push_back(), pop_back(), erase(), clear()
#ifndef ONLINE_JUDGE
#define printd(expr, ...) printf(expr, ##__VA_ARGS__)
#else
#define printd(expr,...)
#endif
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> pii;
typedef map<int,int> mii;
typedef vector<int> vi;
typedef vector< vector<int> > vvi;
typedef vector<char> vc;
typedef vector<bool> vb;
typedef vector<string> vs;
//#define std::ios_base::sync_with_stdio(0); cin.tie(0);
#define rep(i,n) for(int i=0;i<n;i++)
#define fup(i,a,b) for(int i=a;i<=b;i++)
#define fdn(i,a,b) for(int i=a;i>=b;i--)
#define feach(i,n) for(i=0;i<n;i++)
#define fupd(i,a,b) for(i=a;i<=b;i++)
#define fdnd(i,a,b) for(i=a;i>=b;i--)
#define all(x) x.begin(),x.end()
#define permute(x) next_permutation(all(x))
#define ri(x) scanf("%d",&x)
#define rl(x) scanf("%lld",&x)
#define rd(x) scanf("%.lf",&x)
#define rs(x) scanf(" %s",x)
#define pb push_back
#define mp make_pair
#define fi first
#define sc second
#define MOD 1000000007
//cin.tie(0);
int main(){
std::ios_base::sync_with_stdio(0);
int t;
ri(t);
while(t--){
printf("Hello\n");
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment