-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.cpp
77 lines (69 loc) · 1.45 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
72
73
74
75
76
77
#include <bits/stdc++.h>
// #include <climits>
// #include <iostream>
// #include <vector>
// #include <utility>
using namespace std;
#define vt vector
#define pb push_back
#define all(c) (c).begin(), (c).end()
#define sz(x) (int)(x).size()
#define mp make_pair
#define fi first
#define se second
#define rep(i,L,R) for (int i = L; i < R; ++i)
#define rrep(i,L,R) for (int i = R; i > L; --i)
#define each(x, a) for (auto& x: a)
using ul = unsigned long;
using ll = long long;
using vi = vector<int>;
using vb = vector<bool>;
using vvi = vector<vi>;
using ii = pair<int, int>;
template<class T> void read(T& x) {
cin >> x;
}
template <class H, class... T>
void read(H& h, T&... t) {
cin >> h;
read(t...);
}
template<class T> void read(vector<T>& v) {
each(x, v)
read(x);
}
template<class A> void write(A x) {
cout << x;
}
template<class H, class... T> void write(const H& h, const T&... t) {
write(h);
write(t...);
}
void print() {
write("\n");
}
template<class H, class... T> void print(const H& h, const T&... t) {
write(h);
if(sizeof...(t))
write(' ');
print(t...);
}
template<class T> void print(vector<T>& v) {
each(x, v)
write(x, " ");
write("\n");
}
// code
void solve() {
}
int main() {
ios_base::sync_with_stdio(false), cin.tie(nullptr);
int t; cin >> t;
for (int cn = 1; cn <= t; ++cn) {
// solve
cout << "Case #" << cn << ": ";
solve();
cout << "\n";
}
return 0;
}