Submission #667677

#TimeUsernameProblemLanguageResultExecution timeMemory
667677mmkTable Tennis (info1cup20_tabletennis)C++14
0 / 100
30 ms2444 KiB
#include<bits/stdc++.h> using namespace std; const int MAXN = 16e4+10; int v[MAXN]; int main() { cin.tie(0)->sync_with_stdio(0); int n,k; cin >> n >> k; for(int i = 0; i < n+k; i++) cin >> v[i]; sort(v,v+(n+k)); for(int i = k-1; i < n+k-1; i++) cout << v[i] << " "; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...