//愚直 #include #include using namespace std; using modint=atcoder::modint998244353; int main(){ int n; cin >> n; assert(n<=10); vector>e; vectoridx(n); iota(idx.begin(),idx.end(),0); for(int i=0;i> x >> y; x--; y--; e.push_back({x,y}); } int m=n-1; int ans=0; do{ int cnt=0; for(int i=0;i