Submission #239861

#TimeUsernameProblemLanguageResultExecution timeMemory
239861MrRobot_28Vrtić (COCI18_vrtic)C++17
0 / 160
5 ms384 KiB
#include <bits/stdc++.h> using namespace std; signed main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int n; cin >> n; vector <int> p(n), c(n); for(int i = 0; i < n; i++) { cin >> p[i]; } for(int i = 0; i < n; i++) { cin >> c[i]; } sort(c.begin(), c.end()); for(int i = 0; i < n; i++) { cout << c[i] << " "; } return 0; }
#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...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...