#pragma GCC optimize("Ofast") #pragma GCC target("avx,avx2") #include #include using namespace std; int V; long D; bitset<2000>E[2000],ET[2000],A[2000]; main() { cin>>V>>D; //V=2000;D=(1LL<<59)-1; for(int i=0;i>s; //string s(V,'1'); for(int j=i;jV)D=V; while(D) { for(int i=0;inow=A[i]; for(int j=i;j>=1; if(D) { //for(int i=0;inow=E[i]; for(int j=i;j