- Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy patha.cpp
More file actions
Latest commit
57 lines (38 loc) · 1.07 KB
/
Copy patha.cpp
File metadata and controls
57 lines (38 loc) · 1.07 KB
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
#include<bits/stdc++.h>
usingnamespacestd;
#defineloop(i,l,r) for(int i=l; i<r; i++)
#defineintlonglong
#definepb push_back
#definevi vector<int>
#definemkp make_pair<int,int>
#defineumpii unordered_map<int,int>
#definemaxheap priority_queue<int>
#defineminheap priority_queue<int, vi,greater<int>>
#definesetbits(x) __builtin_popcountll(x)
#definezerobits(x) __builtin_ctzll(x)
#definein_arr(A,n) loop(i,0,n) cin>>A[i];
#definep_arr(A,n) loop(i,0,n) cout<<A[i]
;
#definepln_arr(A,n) loop(i,0,n) cout<<A[i]<<endl
#definetake_nint n; cin>>n;
#definetake_arrint arr[n]; loop(i,0,n) cin>>arr[i];
constint mod= 1e9+7;
constint inf= 1e15;
voidsolve(){
int n,d;
cin>>n>>d;
loop(i,0,n) {
cin>>start[i];
}
loop(i,0,n) cin>>end[i];
loop(i,0,n) cin>>kn[i];
int maxi[d]={0};
set<pair<int,int>> inc;
set<pair<int,int>> extr;
}
int32_tmain(){
int t;
cin>>t;
while(t--) solve();
return0;
}