去博客看大图 #include<bits/stdc++.h> using namespace std; const int mod=998244353,T=5e3+10,N=1e3+10; typedef long long ll; ll f[T+10][T+10],c[N<<1][N<<1],n,x,y,t,a,b; int main(){ //ios::sync_with_stdio(false); f[0][0]=1; for(in...