From a876572fb95a72e90ecb32853cdcf7e7a90cf15b Mon Sep 17 00:00:00 2001 From: Gyuhyeok99 Date: Thu, 1 Jan 2026 18:02:06 +0900 Subject: [PATCH] =?UTF-8?q?[Week01]=20BOJ=202750:=20=EC=88=98=20=EC=A0=95?= =?UTF-8?q?=EB=A0=AC=ED=95=98=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gyuhyeok99.cpp" | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 "weekly/week01/BOJ_2750_\354\210\230 \354\240\225\353\240\254\355\225\230\352\270\260/gyuhyeok99.cpp" 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; +}