#include using namespace std; #include using namespace atcoder; using ll=long long; using ld=long double; using uint=uint32_t; using ull=uint64_t; using pii=pair; using pll=pair; using mint=modint998244353; const ll INF=1ll<<60; //xor基底(msbがdistinct) vector xor_base(vector A){ vector base; for(ll v:A){ for(ll e:base)v=min(v,v^e); if(v>0)base.emplace_back(v); } sort(base.begin(),base.end()); int n=base.size(); for(int i=n-2;i>=0;i--){ int msb=-1; for(int j=0;j<60;j++){ if(base[i]&(1ll<>N; vector A(N); ll sum=0; for(int i=0;i>A[i]; sum^=A[i]; } if(sum!=0){ cout<<"No"< base=xor_base(A); int n=base.size(); if(n