Skip to content

Instantly share code, notes, and snippets.

@griimick
Last active April 20, 2020 02:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save griimick/742f000f80577d6f8e2955f6ae7da777 to your computer and use it in GitHub Desktop.
Save griimick/742f000f80577d6f8e2955f6ae7da777 to your computer and use it in GitHub Desktop.
Competitive Programming C++ template
#include<bits/stdc++.h>
using namespace std;
#define fastio ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
int32_t main() {
fastio
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment