Last active
January 4, 2023 14:37
-
-
Save billieeyelashh/418978c3678ab17d9a4397821cc72241 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma GCC optimize("Ofast","unroll-loops","omit-frame-pointer","inline") //Optimization flags | |
#pragma GCC option("arch=native","tune=native","no-zero-upper") //Enable AVX | |
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2") | |
#include<bits/stdc++.h> | |
#define int long long | |
//#include<ext/pb_ds/assoc_container.hpp> | |
using namespace std; | |
//using namespace __gnu_pbds; | |
const int inf=0x3f3f3f3f; | |
const double eps=1e-6; | |
const int mod=998244353; | |
typedef long long ll; | |
#ifndef LOCAL | |
#define cerr if(0)cout | |
#define eprintf(...) 0 | |
#else | |
#define eprintf(...) fprintf(stderr, __VA_ARGS__) | |
#endif | |
inline string getstr(string &s,int l,int r){string ret="";for(int i=l;i<=r;i++)ret.push_back(s[i]);return ret;} | |
int modpow(int x,int y,int md=mod){int ret=1;do{if(y&1)ret=(ll)ret*x%md;x=(ll)x*x%md;}while(y>>=1);return ret;} | |
inline int Rand(){return rand()*32768+rand();} | |
int T,n,m,a[1005],b[1005],deg[1005]; | |
//set<pair<int,int> >s[1005]; | |
vector<int>rg[1005],g[1005]; | |
vector<int>ord; | |
int ways[1005]; | |
signed main(){ | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment