-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
48 lines (33 loc) · 969 Bytes
/
main.cpp
File metadata and controls
48 lines (33 loc) · 969 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
39
40
41
42
43
44
45
46
47
48
#include <bits/stdc++.h>
using namespace std;
// Macros
#define ALL(x) (x).begin(), (x).end()
#define RALL(x) (x).rbegin(), (x).rend()
#define int long long // Comment this line if you want to use actual int
#define double long double // Comment this line if you want to use actual double
// Aliases
using ull = unsigned long long;
using p = pair<int, int>;
using v = vector<int>;
using m = map<int, int>;
using vv = vector<v>;
using us = unordered_set<int>;
// Constants
constexpr int inf = LLONG_MAX;
constexpr int mod = 1e9 + 7;
void solve() {
// Read input
// Example: int n; cin >> n;
// Process input and solve the problem
// Example: cout << n * n << endl;
// Output result
}
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int t = 1;
// cin >> t; // Uncomment the following line if there are multiple test cases
while (t--)
solve();
return 0;
}