-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelloworld.cpp
More file actions
executable file
·38 lines (34 loc) · 977 Bytes
/
helloworld.cpp
File metadata and controls
executable file
·38 lines (34 loc) · 977 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
32
33
34
35
36
37
38
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned ll
#define ld long double
#define pl pair<ll, ll>
#define pi pair<int, int>
#define vl vector<ll>
#define vi vector<int>
#define vvi vector<vi>
#define vvl vector<vl>
#define vpl vector<pl>
#define vpi vector<pi>
#define vld vector<ld>
#define in(el, cont) (cont.find(el) != cont.end())
constexpr int INF = 2000000010;
constexpr ll LLINF = 9000000000000000010LL;
template <typename T, template <typename ELEM, typename ALLOC = std::allocator<ELEM> > class Container>
std::ostream& operator<<(std::ostream& o, const Container<T>& container) {
typename Container<T>::const_iterator beg = container.begin();
if (beg != container.end()) {
o << *beg++;
while (beg != container.end()) {
o << " " << *beg++;
}
}
return o;
}
// int main() {
// ios::sync_with_stdio(false); // do not use cout + printf
// cin.tie(NULL);
// cout << fixed << setprecision(12);
// return 0;
// }