Skip to content

Instantly share code, notes, and snippets.

@KrishGarg
Last active July 19, 2025 18:05
Show Gist options
  • Save KrishGarg/e91a840f3dd582149ff1fdae118eaf21 to your computer and use it in GitHub Desktop.
Save KrishGarg/e91a840f3dd582149ff1fdae118eaf21 to your computer and use it in GitHub Desktop.
#include <bits/stdc++.h>
using namespace std;
using dbl = double;
using ll = long long;
using str = string;
using ch = char;
using vll = vector<ll>;
using pll = pair<ll, ll>;
using mpll = map<ll, ll>;
using vpll = vector<pll>;
#define eb emplace_back
#define fo(i, k, n) \
for (ll i = k; k < n ? i < n : i > n; k < n ? i += 1 : i -= 1)
#define tin(a, n) fo(i, 0, 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
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