-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.cpp
72 lines (53 loc) · 1.23 KB
/
template.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
65
66
67
68
69
70
71
//#include <bits/stdc++.h>
#include <iostream>
#include <climits>
#include <vector>
#include <algorithm>
#include <cmath>
#include <map>
#include <set>
#include <stack>
#include <queue>
#include <unordered_map>
#include <unordered_set>
#include <assert.h>
//#include <time.h>
using namespace std;
/*
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
typedef tree<ull,null_type,less<ull>,rb_tree_tag, tree_order_statistics_node_update> orderedSet;
typedef tree<ull,null_type,less_equal<ull>,rb_tree_tag, tree_order_statistics_node_update> orderedMultiSet;
#define findBO find_by_order
#define findBK order_of_key
*/
#define rep(i, a, b) for(int i = a; i < (b); ++i)
#define all(x) begin(x), end(x)
#define sz(x) (int)(x).size()
typedef int64_t ll;
typedef uint64_t ull;
typedef pair<ll, ll> pii;
typedef vector<ll> vi;
#define MAX 1000100
#define MOD 1000000007
vector<ll> a;
vector<ll> b;
ll n, m;
string s;
void solve(){
a.clear(); b.clear();
cin>>n;
for(int i = 0; i < n; i++){
ll z; cin>>z;
a.push_back(z);
}
}
int main(){
cin.tie(0)->sync_with_stdio(0); cin.exceptions(cin.failbit);
//srand (time(NULL));
int t=1; cin>>t;
while(t--){
solve();
}
return 0;
}