From 27946507182f4f23b869f8209901dc8f3c373ef6 Mon Sep 17 00:00:00 2001 From: haoxuan Date: Sat, 28 Feb 2026 05:01:48 -0500 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=E3=80=8C0228=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 排座位 --- 0228/162.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 0228/162.cpp diff --git a/0228/162.cpp b/0228/162.cpp new file mode 100644 index 0000000..3daff31 --- /dev/null +++ b/0228/162.cpp @@ -0,0 +1,16 @@ +#include +using namespace std; +int main(){ + int x=15; + int j=0; + int man=0; + while(man<312){ + j++; + x=x+2; + man=man+x; + + } + cout<