#pragma GCC target("avx2") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #include using namespace std; #define int long long signed main(){ int N,K; cin>>N>>K; int ans = 0; vector S(N); for(int i=0;i>S[i]; sort(S.rbegin(),S.rend()); for(int i=0;i