From e68b553fe8d60a938a29eea154c2929176983881 Mon Sep 17 00:00:00 2001 From: hehe Date: Sat, 4 Jul 2026 05:45:39 -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 | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/666/01.cpp b/666/01.cpp index 564cb1f..50b4747 100644 --- a/666/01.cpp +++ b/666/01.cpp @@ -1,22 +1,17 @@ #include using namespace std; - int main(){ - - int t=0; - int h=0; - - while(h<=17){ - t++; - h+=3; - - if(h>=17) - break; - - t++; - h--; + int a[8]; + int i; + cin>>i; + for(int j=0;j<8;j++){ + a[j]=i%2; + i=i/2; + cout<=0;b--) + cout<