#define _GLIBCXX_DEBUG #include #include using namespace atcoder; using namespace std; typedef long long ll; #define rep(i,a,b) for(int i=a;i; using vvi = vector; using li =vector; using lli=vector
  • ; using si =vector; using ssi =vector; struct Edge { int to, cost; Edge(int to, int cost) : to(to), cost(cost) {} }; //using mint = modint998244353; const long long INF = 1e18; const long long MOD=1e9+7; //bit全探索 rep(i,0,1<<(n-1)){rep(j,0,n-1)if(I&(1<>r>>d; if(d>2*r)cout<<0; else if(d==2*r)cout<<4; else if(d