#define
register
#define rep(i,x,y) for(int i=x;i<=y;i++)
下面变为:rep(i,1,n)。
rep(i,1,n)
原本应为:for(int i=1;i<=n;i++)。
for(int i=1;i<=n;i++)