Skip to content

Instantly share code, notes, and snippets.

@Felipefams
Created January 5, 2023 02:21
Show Gist options
  • Save Felipefams/145c6cbc21815f75c1dbfc680e5ad2ab to your computer and use it in GitHub Desktop.
Save Felipefams/145c6cbc21815f75c1dbfc680e5ad2ab to your computer and use it in GitHub Desktop.

Revisions

  1. Felipefams created this gist Jan 5, 2023.
    49 changes: 49 additions & 0 deletions template.cpp
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,49 @@
    #include <bits/stdc++.h>
    using namespace std;
    //vrum vrum
    #define fast_io ios_base::sync_with_stdio(0); cin.tie(0);
    //constants
    #define endl "\n"
    #define PI 3.1415926535897932384626433832795
    #define MOD 1000000007
    #define exp 1e9
    #define imax INT_MAX
    #define imin INT_MIN
    //functions
    #define sqr(a) (a)*(a)
    #define sz(x) ((int)x.size())
    #define watch(x) cout << (#x) << " is " << (x) << endl
    //utils
    #define umap unordered_map
    #define uset unordered_set
    #define pb push_back
    #define mk make_pair
    #define fi first
    #define sc second
    //types
    typedef long long ll;
    typedef long double ld;
    typedef vector<int> vi;
    typedef pair<int,int> pii;
    bool prime(ll a) { if (a==1) return 0; for (int i=2;i*i<=a;++i) if (a%i==0) return 0; return 1; }
    template<typename T>
    std::ostream & operator << (std::ostream &os ,std::vector<T> &v){
    for(auto& x : v) os << x << " ";
    os << endl;
    return os;
    }

    void solve(){
    //solution
    }

    // cout << "Case #" << t << ": ";
    int main(){
    fast_io;
    int t = 0;
    cin >> t;
    while(t--){

    }
    return (0);
    }