版本比较
P5684 [CSP-J2019 江西] 非回文串
正文
增加 2 行删除 2 行
15 行未改动1617181920202122232423 行未改动4849505152525315 行未改动#include<bits/stdc++.h>using namespace std;
int n,a[26];char s[2005]; char s[2005];const int mod=1e9+7;bool ds;int ans;long long unres=1,res=1;23 行未改动 for(int j(2);j<=n;j++)unres=unres*j%mod; printf("%lld",(unres+mod-res)%mod); //cout<<" "<<res; return 0;} }```