Skip to content

Instantly share code, notes, and snippets.

@techsharif
Last active February 18, 2022 17:11
Show Gist options
  • Save techsharif/69a55f1d221c13e42ad77cfa7bdcb2fa to your computer and use it in GitHub Desktop.
Save techsharif/69a55f1d221c13e42ad77cfa7bdcb2fa to your computer and use it in GitHub Desktop.
beginner template for competitive programming
#include <bits/stdc++.h>
using namespace std;
int main()
{
// uncomment if you want to use cin cout for input output ( don't mix with scanf, printf ).
// ios_base::sync_with_stdio(false);
// cin.tie(NULL);
// cout << fixed << setprecision(2);
// cout << "\n";
return 0;
}
@sun01822
Copy link

#include <bits/stdc++.h>
using namespace std;

#define ll long long
#define ull unsigned long long
#define PI acos(-1)
#define endl '\n'

void FIO()
{
ios_base::sync_with_stdio(0);
cin.tie(NULL);
cout.tie(NULL);
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
}

int main()
{
FIO();
int t;
cin >> t;
while (t--)
{

}
return 0;

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment