-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.cpp
50 lines (33 loc) · 831 Bytes
/
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
#include <bits/stdc++.h>
#define DEBUG true
#ifdef DEBUG
#define dout cout
#else
#define dout 0 && cout
#endif
#define PS <<" - "<<
#define PG <<" "<<
#define PE <<endl
#define F first
#define S second
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int,int> pi;
void printVec(string name,vector<int> a){ dout<<name<<" : "; for(auto x:a) dout<<x<<" "; dout<<endl;}
// printBT for printing tree horizontally
int main(int argc, char const *argv[]) {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
cin >> t;
//cout<< std::fixed << std::setprecision(3)<<ans;
// std::fstream myfile("./input.txt", std::ios_base::in);
while (t--) {
int n;
cin >> n;
vector<int> arr(n);
for(int &x : arr) cin>>x;
}
return 0;
}