-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcppTemplate.cpp
64 lines (53 loc) · 1.38 KB
/
cppTemplate.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#include <bits/stdc++.h>
#define fast ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL)
#define f(i,a,b) for(auto i=a;i<b;i++)
#define fi(i,a,b,x) for(auto i=a;i<b;i=i+x)
#define fe(i,a,b) for(auto i=a;i<=b;i++)
#define fr(i,a,b) for(auto i=a;i>=b;i--)
#define loop(i, a) for(auto i=a.begin();i!=a.end();i++)
#define endl '\n'
#define sp '\t'
#define ll long long int
#define ff first
#define ss second
#define pb push_back
#define mp make_pair
#define all(x) x.begin(), x.end()
#define clr(x) memset(x, 0, sizeof(x))
#define sortall(x) sort(all(x))
#define mod 1000000007
#define PI 3.1415926535897932384626
#define deb(x) cout<<#x<<"="<<x<<endl
#define deb2(x, y) cout<<#x<<" = "<<x<<","<<#y<<" = "<<y<<endl
using namespace std;
template <typename T>
void print(vector<T>& a, char sep)
{
for(auto i : a) { cout<<i<<sep; }
}
ll mod_opr(ll num)
{
return (num + mod) % mod;
}
template <typename T>
bool compare(T x, T y)
{
return x > y ? true : false;
}
bool pair_Compare(const pair<int, int>&a, const pair<int, int>&b)
{
return a.second < b.second;
}
int main()
{
// ONLINE_JUDGE
#ifndef rahulbordoloi
freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdin);
#endif
// Code
fast;
cout<<"Hello World"<<endl;
// cerr<<"TIME : "<<clock()<<endl;
return 0;
}