-
-
Save fredbr/95fe17e1cae49302a38de2439dac6d48 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# solucao de PEDRO MICHAEL | |
#include <bits/stdc++.h> | |
using namespace std; | |
int main() | |
{ | |
int n; | |
cin >> n; | |
vector<int> lista(n); | |
for(int i = 0; i < n; i++) | |
cin >> lista[i]; | |
sort(lista.begin(), lista.end()); | |
for(int i = 0; i < n; i++) | |
cout << lista[i] << endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment