#include #include #include using namespace std; using ll = long long; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); ll n,v; cin>>n>>v; vector c(n); for(int i = 0;i>c[i]; ll sum = 0; for(int i = 0;i a(n+1,0); for(int i = 0;i