正文
增加 6 行删除 6 行
38 行未改动3940414243444546474849505152535455565758596015 行未改动7677787980818283846 行未改动9192939495969738 行未改动int x=0,f=1;char ch=getchar();while(ch > '9' || ch < '0'){if(ch == '-'){f = -1;}ch = getchar();}while(ch >= '0'&&ch <= '9'){x = x * 10 + ch - 48; ch = getchar();}return x * f;}const int MOD = 998244353;const int MAX_S = (1 << 18) + 5,MAX_E = 400 + 5;int f[MAX_S],n,m,u[MAX_E],v[MAX_E],inv_2 = 499122177;bool mark[MAX_S];void add(int &x,int y){x += y;if(x >= MOD) x -= MOD;if(x < 0) x += MOD;}signed main(){n = read();m = read();for(int i = 1;i <= m;++i)15 行未改动break;}}}f[0] = 1;for(int i = 1;i < up_lim;++i){for(int j = i; j;j = (j - 1) & i)6 行未改动}}int ans = f[up_lim - 1] * m % MOD * inv_2 % MOD;std::cout << ans;return 0;}```38 行未改动3940414243444546474849505152535455565758596015 行未改动7677787980818283846 行未改动9192939495969738 行未改动int x=0,f=1;char ch=getchar();while(ch > '9' || ch < '0'){if(ch == '-'){f = -1;}ch = getchar();}while(ch >= '0'&&ch <= '9'){x = x * 10 + ch - 48; ch = getchar();}return x * f;}const int MOD = 998244353;const int MAX_S = (1 << 18) + 5,MAX_E = 400 + 5;int f[MAX_S],n,m,u[MAX_E],v[MAX_E],inv_2 = 499122177;bool mark[MAX_S];void add(int &x,int y){x += y;if(x >= MOD) x -= MOD;if(x < 0) x += MOD;}signed main(){n = read();m = read();for(int i = 1;i <= m;++i)15 行未改动break;}}}f[0] = 1;for(int i = 1;i < up_lim;++i){for(int j = i; j;j = (j - 1) & i)6 行未改动}}int ans = f[up_lim - 1] * m % MOD * inv_2 % MOD;std::cout << ans;return 0;}```