From 83d761d20b75dd348d2b94b26b018487c504e100 Mon Sep 17 00:00:00 2001 From: hehe Date: Sat, 25 Apr 2026 04:27:16 -0400 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=8C666=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 666/01.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 666/01.cpp diff --git a/666/01.cpp b/666/01.cpp new file mode 100644 index 0000000..564cb1f --- /dev/null +++ b/666/01.cpp @@ -0,0 +1,22 @@ +#include +using namespace std; + +int main(){ + + int t=0; + int h=0; + + while(h<=17){ + t++; + h+=3; + + if(h>=17) + break; + + t++; + h--; + } + + cout<<"需要"<