Created
February 5, 2025 22:27
-
-
Save Arnau478/73db1b05d618e8e1b36b36f919a3d55c to your computer and use it in GitHub Desktop.
Competitive programming template (salva)
This file contains 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 ll = long long; | |
using str = string; | |
using pii = pair<int, int>; | |
using vi = vector<int>; | |
#define dbg(v) cout << "Line(" << __LINE__ << ") -> " << #v << " = " << (v) << endl; | |
#define rep(i, a, n) for(int i = a; i < n; i++) | |
#define size(a) (int)a.size() | |
#define len(a) (int)a.length() | |
#define nl '\n' | |
#define order(a) sort(a.begin(), a.end()) | |
#define rorder(a) sort(a.rbegin(), a.rend()) | |
#define YN(v) cout << ((v) ? "YES" : "NO") << nl | |
int main() { | |
ios::sync_with_stdio(0); | |
cin.tie(0); | |
int t; | |
cin >> t; | |
while(t--) { | |
int n; | |
cin >> n; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment