-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.cpp
More file actions
81 lines (66 loc) · 1.81 KB
/
template.cpp
File metadata and controls
81 lines (66 loc) · 1.81 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
using namespace std;
#include <iostream>
#include <vector>
#include <set>
#include <map>
#include <queue>
#include <string>
#include <algorithm>
#include <string>
#include <cmath>
#include <bitset>
#include <functional>
#include <utility>
#include <numeric>
/*
If the problem was enjoyable, put "Enjoyable" here
Working at: **NOT WORKING** (link)
Idea:
1.
2.
3.
Tricks/Bugs:
1.
2.
3.
Difficulty: #/10
Time started: [start]
Time ended: [end]
*/
bool debug = true; // if(debug) cout << "debug statement" << endl;
#define ll long long
#define fst first
#define snd second
#define db(x) if(debug) cout << (#x) << ": " << x << endl; // print `x` info
#define dbp(x, y) if(debug) cout << "{" << (#x) << ", " << (#y) << "}: {" << x << ", " << y << "};\n"; // print pair `x`,`y` info
#define dba(arr) if(debug) { cout << (#arr) << ": \n"; for(int i = 0; i < arr.size(); i++) cout << arr[i] << " "; cout << "\n"; } // print array info
#define dbap(arr) if(debug) { cout << (#arr) << ": \n"; for(int i = 0; i < arr.size(); i++) cout << "{" << arr[i].first << ", " << arr[i].second << "} "; cout << "\n"; } // print array of pairs
#define dbaa(arr) if(debug) { cout << (#arr) << ": \n"; for(int i = 0; i < arr.size(); i++) { for(auto t : arr[i]) cout << t << " "; cout << "\n"; } cout << "\n"; } // print 2D array
#define cm << ", " <<
#define sp << " " <<
struct {
template<class T>
operator T() {
T x; std::cin >> x; return x;
}
} in;
/*
const int MAX_N = 1717; // maximum value N can take
const ll MOD = 998244353; // change if necessary
ll grid[MAX_N][MAX_N]; // */
ll n, k;
void solve() {
cin >> n >> k;
for(int i = 0; i < n; i++) {
int t; cin >> t;
}
}
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int TC = 1;
// cin >> TC;
while(TC--) {
solve();
}
}