-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.cpp
More file actions
31 lines (24 loc) · 748 Bytes
/
template.cpp
File metadata and controls
31 lines (24 loc) · 748 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
#define _GLIBCXX_HOSTED 1 // Had to add because of MacOS M1 problems (i'm assuming?)
#include <bits/stdc++.h> // Compilation time is not counted. So why bother writing the imports individually?
using namespace std;
// typedef pair<int, int> ii; // shortcut for a pair...
//
// Union-Find
// vector<int> parents;
// inline int find(int element){
// if (parents[element] == element) return element;
// return find(parents[element]);
// }
// inline void unionElements(int element1, int element2){
// int parent1 = find(element1);
// int parent2 = find(element2);
// parents[parent2] = parent1;
// }
int main(){
//
// IO Speed optimizations
ios_base::sync_with_stdio(0);
cin.tie(0);
//
return 0;
}