Last active
January 2, 2026 03:27
-
-
Save KrishGarg/e91a840f3dd582149ff1fdae118eaf21 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <bits/stdc++.h> | |
| using namespace std; | |
| using dbl = long double; | |
| using ll = long long; | |
| using str = string; | |
| using ch = char; | |
| using vll = vector<ll>; | |
| using vdbl = vector<dbl>; | |
| using vvll = vector<vll>; | |
| using pll = pair<ll, ll>; | |
| using mpll = map<ll, ll>; | |
| using vpll = vector<pll>; | |
| #define eb emplace_back | |
| #define pb push_back | |
| #define fo(i, k, n) \ | |
| for (ll i = k; k < n ? i < n : i > n; k < n ? i += 1 : i -= 1) | |
| #define fu(i, k, n) for (ll i = k; i <= n; i++) | |
| #define fd(i, k, n) for (ll i = k; i >= n; i--) | |
| #define tin0(a, n) fo(i, 0, n) cin >> a[i] | |
| #define tin1(a, n) fu(i, 1, n) cin >> a[i] | |
| #define all(v) v.begin(), v.end() | |
| #define yes cout << "YES" << endl | |
| #define no cout << "NO" << endl | |
| #define f first | |
| #define s second | |
| ll pow(ll a, ll b) { | |
| ll res = 1; | |
| while (b > 0) { | |
| if (b & 1) res *= a; | |
| a *= a; | |
| b >>= 1; | |
| } | |
| return res; | |
| } | |
| ll modpow(ll a, ll b, ll m) { | |
| ll res = 1; | |
| while (b) { | |
| if (b & 1) res = (res * a) % m; | |
| a = (a * a) % m; | |
| b >>= 1; | |
| } | |
| return res; | |
| } | |
| ll inv(ll a, ll m) { return modpow(a, m - 2, m); } | |
| void solve() {} | |
| int main() { | |
| ios::sync_with_stdio(false); | |
| cin.tie(nullptr); | |
| cout.tie(0); | |
| ll t; | |
| cin >> t; | |
| while (t--) { | |
| solve(); | |
| } | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment