-
Notifications
You must be signed in to change notification settings - Fork 45
/
base code.cpp
55 lines (53 loc) · 1.94 KB
/
base code.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
#include<bits/stdc++.h>
using namespace std;
#define int long long int
#define endl "\n"
#define pb push_back
#define ppb pop_back
#define pf push_front
#define ppf pop_front
#define mpr make_pair
#define py cout<<"YES\n"
#define pn cout<<"NO\n"
#define pi 3.141592653589793238
#define pll pair<int,int>
#define all(v) v.begin(),v.end()
#define umap unordered_map<int,int>
#define omap map<int,int>
#define vec vector<int>
#define fl(i,n) for(int i=0;i<n;i++)
#define mod 1000000007
template <typename T>
istream &operator>>(istream &istream, vector<T> &v)
{
for(auto &it:v)
cin>>it;
return istream;
}
bool sorta(const pair<int,int> &a,const pair<int,int> &b){return (a.second < b.second);}
bool sortd(const pair<int,int> &a,const pair<int,int> &b){return (a.second > b.second);}
string to_upper(string &a) { for (int i=0;i<(int)a.size();++i) a[i]&='_'; return a;}
string to_lower(string &a) { for (int i=0;i<(int)a.size();++i) a[i]|=' '; return a;}
int gcd(int a,int b){if(b==0)return a;return gcd(b,a%b);}
int lcm(int a,int b){return (a/gcd(a,b))*b;}
int powermod(int x, int y, int p){int res = 1;x = x % p;if (x == 0) return 0;while (y > 0){if (y & 1)res = (res*x) % p;y = y>>1;x = (x*x) % p;}return res;}
/*======================================================================================*/
void dsc()
{
cout<<"hello";
}
/*======================================================================================*/
signed main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);cout.tie(NULL);
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
int t=1;
cin>>t;
// int tt=t;
while(t--)
{
// cout<<"Case #"<<tt-t<<": ";
dsc();
}
}