https://www.luogu.com.cn/record/38414155
#include<cstdio> #include<cassert> int t,n; int main(){ scanf("%d",&t); while(t--){ scanf("%d",&n); for(int i=1,x;i<=n;i++)scanf("%d",&x),assert(i==x); } return 0; }