forked from prateek27/Coding-Problems
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasic.cpp
More file actions
47 lines (46 loc) · 969 Bytes
/
Copy pathbasic.cpp
File metadata and controls
47 lines (46 loc) · 969 Bytes
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
#include<iostream>
#include<algorithm>
#include<vector>
#include<queue>
#include<map>
#include<utility>
#include<set>
#include<stack>
#include<list>
#include<deque>
#include<bitset>
#include<iomanip>
#include<cstring>
#include<sstream>
#include<cstdio>
#include<cstdlib>
#include<climits>
#include<cmath>
#include<cctype>
#include<time.h>
using namespace std;
typedef long long ll ;
typedef vector<int> vi ;
typedef pair<int,int> pp;
typedef vector<pp> vpp ;
typedef vector<ll> VI ;
typedef pair<ll,ll> PP;
typedef vector<PP> VPP ;
#define pb push_back
#define mp make_pair
#define si(a) scanf("%d",&a)
#define ss(a) scanf("%s",a)
#define pi(a) printf("%d\n", a)
#define sl(a) scanf("%I64d",&a)
#define pl(a) printf("%I64d\n", a)
#define f(i,n) for(i=0;i<n;i++)
#define fr(i,n) for(i=n-1;i>=0;i--)
#define f1(i,n) for(i=1;i<=n;i++)
struct st{
int x;
int y;
};
bool fun(const st &a,const st &b)
{
return a.x<b.x;
}