摘要:
A void solve(){ int n;cin>>n; int l,r;cin>>l>>r; string s;cin>>s; s=" "+s; for(int i=l;i<=r;i++){ if(s[i]=='x'){ cout<<"No"<<endl; return; } } cout<<" 阅读全文
posted @ 2025-07-26 22:39
Marinaco
阅读(37)
评论(0)
推荐(1)
摘要:
bitset可以开到1e6左右 int n; pii a[505]; void solve(){ cin>>n; rep(i,1,n)cin>>a[i].fi>>a[i].se; int cnt=0; vector<bitset<1000001>>f(n+1); f[0][0]=1; rep(i,1 阅读全文
posted @ 2025-07-26 16:24
Marinaco
阅读(9)
评论(0)
推荐(0)

浙公网安备 33010602011771号