diff --git "a/weekly/week01/BOJ_2750_\354\210\230 \354\240\225\353\240\254\355\225\230\352\270\260/gyuhyeok99.cpp" "b/weekly/week01/BOJ_2750_\354\210\230 \354\240\225\353\240\254\355\225\230\352\270\260/gyuhyeok99.cpp" new file mode 100644 index 0000000..8375f82 --- /dev/null +++ "b/weekly/week01/BOJ_2750_\354\210\230 \354\240\225\353\240\254\355\225\230\352\270\260/gyuhyeok99.cpp" @@ -0,0 +1,27 @@ +#include +#include +#include + +using namespace std; + +int n; +vector v; +int main() { + ios::sync_with_stdio(false); + cin.tie(NULL); cout.tie(NULL); + + cin >> n; + for (int i = 0; i < n; i++) { + int x; + cin >> x; + v.push_back(x); + } + + sort(v.begin(), v.end()); + + for (int num : v) { + cout << num << '\n'; + } + + return 0; +}