Skip to content

Instantly share code, notes, and snippets.

@SolomidHero
Last active November 21, 2020 16:58
Show Gist options
  • Save SolomidHero/dc1bb22679e5e0310399b443738ecfb8 to your computer and use it in GitHub Desktop.
Save SolomidHero/dc1bb22679e5e0310399b443738ecfb8 to your computer and use it in GitHub Desktop.
Competitive Programming Template
// Author: Dmitry Sadykov
// For simplicity, next one-liner is useful to copy paste into several files:
// $ curl https://gist.githubusercontent.com/SolomidHero/dc1bb22679e5e0310399b443738ecfb8/raw/b16d6a2987efa77c6320679da3fb0f65cbefd594/template.cpp | pbcopy; for i in {a..f}; do pbpaste > $i.cpp; done
#include <iostream>
using namespace std;
using ll = int64_t;
void solve() {
}
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
int t;
cin >> t;
for (int i = 0; i < t; ++i) {
solve();
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment