Skip to content

Instantly share code, notes, and snippets.

@haki-user
Created October 9, 2023 05:40
Show Gist options
  • Save haki-user/58473a59338258a91cddd0d1d5cc13e0 to your computer and use it in GitHub Desktop.
Save haki-user/58473a59338258a91cddd0d1d5cc13e0 to your computer and use it in GitHub Desktop.
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#ifndef ONLINE_JUDGE
#define debug(x) cerr<<#x<<":";_print(x);
#define edl cerr<<endl;
#else
#define debug(x);
#define edl;
#endif
#define fn for(ll i=0;i<n;i++)
// void _print(int *a) {cerr<<"[ ";for(auto e: a) _print(e);}
template<class T> void _print(T x) {cerr<<x<<" ";}
template<class T> void _print(vector<T> v){cerr<<"[ ";for(T e:v) _print(e);cerr<<"]"<<endl;}
template<class T, class U> void _print(map<T, U> m){if(m.empty()){cerr<<"[ EM ]"<<endl;}else{cerr<<"[ "<<endl;for(auto [e, v]:m){cerr<<" ";_print(e);_print(v);edl;}cerr<<" ]"<<endl;}}
const ll mod = 1e9+7;
int zz;
bool stop(int kk) {return (zz++ > kk)?true:false;}
// template<class T> void _print(T a[]){cerr<<"[";for(int i=0;i<9;i++){_print(a[i]);}cerr<<"]"<<endl;}
// -----------------------------------
void soln(){
}
// ----------------------
int main(){
#ifndef ONLINE_JUDGE
freopen("debug.txt", "w", stderr);
clock_t tstart = clock();
#endif
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll t = 1;
// cin>>t;debug(t);edl;
int tc = 1;
while(t--){
debug(tc);edl;
soln();
cout<<endl;
tc++;
}
#ifndef ONLINE_JUDGE
cout<<"\n Executed In: "<<double(clock()-tstart)/CLOCKS_PER_SEC<<"ms";
#endif
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment