From a7cc8496ae9ad310ab3a98563d69a8b890c2d671 Mon Sep 17 00:00:00 2001 From: Ren Baoshuo Date: Tue, 3 Aug 2021 14:43:04 +0800 Subject: [PATCH] =?UTF-8?q?709.=20=E5=A5=87=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://www.acwing.com/problem/content/submission/code_detail/6862921/ --- AcWing/709/709.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 AcWing/709/709.cpp diff --git a/AcWing/709/709.cpp b/AcWing/709/709.cpp new file mode 100644 index 00000000..930f744e --- /dev/null +++ b/AcWing/709/709.cpp @@ -0,0 +1,12 @@ +#include + +using namespace std; + +int main() { + int x; + cin >> x; + for (int i = 1; i <= x; i++) { + if (i & 1) cout << i << endl; + } + return 0; +}