#include using namespace std; using Int=long long; using Real=long double; templateinline bool chmin(T&A,T B){return(A>B?A=B,1:0);} templateinline bool chmax(T&A,T B){return(A>N>>S; dp[0]=1; Int x=1; int j=0,cnt=0; REP(i,N) { cnt+=S[i]=='1'; while(j>T; while(T--)sol(); }