Submission #667667

#TimeUsernameProblemLanguageResultExecution timeMemory
667667mmkTable Tennis (info1cup20_tabletennis)C++17
0 / 100
25 ms2320 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)); cout << n << "\n"; for(int i = k; i <= n+k; 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...