#include #include #include #include #include #include #include typedef long long ll; const ll INF=20000; using namespace std; int main(){ ll n,x; cin>>n>>x; ll ans=0; vector C(n); for(int i=0;i>C[i]; } sort(C.begin(),C.end()); ll right=C[n-1]; ll left=C[0]; ll mid; for(int i=n-1;i>0;i--) { mid=(right+left)/2; if(midx) { mid=right; } // cout<=1)cout<<"Yes"<> dp(n+1,vector101,false); dp[0][0]=true; for(int k=0;k<=101;k++) { for(int i=0;i<=n;i++) { for(int j=0;j<=100;j++) { dp[i][j]=dp[i-1][j-C[k]] } } } */ return 0; }