-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcpTemplate.cpp
More file actions
59 lines (50 loc) · 1.2 KB
/
cpTemplate.cpp
File metadata and controls
59 lines (50 loc) · 1.2 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
58
59
#include <bits/stdc++.h>
using namespace std;
const int MAX_N = 10e8;
#define loop4(l, a, b) for (l = a; l <= b; l++)
#define nl '\n'
#define loop(n) for (int i = 0; i < n; i++)
#define loop1(n) for (int i = 1; i <= n; i++)
#define loop2(n) for (int j = 0; j < n; j++)
#define loop3(a, b) for (int k = a; k <= b; k++)
#define py cout << "YES" << nl
#define pn cout << "NO" << nl
#define print(ans) cout << ans << nl
#define isEven(n) if (n % 2 == 0)
typedef long long ll;
typedef vector < ll > vll;
typedef vector < int > vi;
typedef vector < char > vch;
template < typename T1, typename T2 >
using vpp = vector < pair < T1, T2 >> ;
// Template functions for input and output
template < typename T >
void inputArray(vector < T > & arr, int n)
{
arr.resize(n);
for (int i = 0; i < n; i++)
{
cin >> arr[i];
}
}
template < typename T >
void outputArray(vector < T > & arr, int n)
{
for (int i = 0; i < n; i++)
{
cout << arr[i] << nl;
}
}
void solve(){
}
int t;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cin >> t;
while (t--) {
solve();
}
return 0;
}