摘要:
挺好玩的一场比赛。 "链接" A 打表,打到$2e4$左右会发现有一个长度$104$的循环节。 c++ include using namespace std; int col[5010][5010]; int dx[4] = {1,0, 1,0},dy[4] = {0,1,0, 1}; long 阅读全文
摘要:
考虑除开$1 k$以外的任意点$d$在长度为$k 1$的链上有: 对于任意$i,i+1 (i\in "1,k 1])$,$col[d][i]+col[d][i+1" p (a或a+1) q p,q,r p a,q a r a+1 cpp include include "graph.h" using 阅读全文