From 1d7e13b5d553dd68772771680080892776474a98 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 19 Nov 2024 07:06:12 +0000 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=EC=8A=88=20#316=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EC=86=94=EB=A3=A8=EC=85=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...12\224_\354\213\253\354\226\264\354\232\224.cpp" | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 "Programmers/\354\247\235\354\210\230\353\212\224_\354\213\253\354\226\264\354\232\224.cpp" diff --git "a/Programmers/\354\247\235\354\210\230\353\212\224_\354\213\253\354\226\264\354\232\224.cpp" "b/Programmers/\354\247\235\354\210\230\353\212\224_\354\213\253\354\226\264\354\232\224.cpp" new file mode 100644 index 0000000..c542627 --- /dev/null +++ "b/Programmers/\354\247\235\354\210\230\353\212\224_\354\213\253\354\226\264\354\232\224.cpp" @@ -0,0 +1,13 @@ +#include +#include + +using namespace std; + +vector solution(int n) { + vector answer; + for (int i = 1; i <= n; i += 2) { + answer.push_back(i); + } + + return answer; +} \ No newline at end of file