#1472: (super easy)


1650755-x@g.puiching.edu.mo (P6A06何泓楷)

School : No School
ID : 2936
IP address : [192.168.120.33]
Last Login :
2024-06-27 11:52:26
a009. 沒有手機的下課時間 -- 板橋高中教學題 | From: [192.168.120.33] | Post Date : 2024-03-22 13:56

#include<iostream>
using namespace std;

int main() 
{
  int num,times;
  while(cin>>num>>times)
  {
    for(int i=0;i<times;i++)
    {
      int guess;
      cin>>guess;
      int g[4],hold1=guess;
      for(int j=3;j>=0;j--)
      {
        g[j]=hold1%10;
        hold1=int(hold1/10);
      }
      int n[4],hold2=num;
      for(int j=3;j>=0;j--)
      {
        n[j]=hold2%10;
        hold2=int(hold2/10);
      }
      int a=0,b=0;
      for(int j=0;j<4;j++)
      {
        if(n[j]==g[j])
        a++;
        else
        {
          for(int k=0;k<4;k++)
          {
            if(g[j]==n[k]&&j!=k)
            b++;
          }
        }
      }
      cout<<a<<"A"<<b<<"B"<<endl;
    }
  }
  return 0;
}
 
#1473: Re:(super easy)


1360174-1@g.puiching.edu.mo (S3A05何彥樂)

School : Pui Ching Middle School
ID : 1645
IP address : [192.168.120.33]
Last Login :
2024-08-17 09:37:01
a009. 沒有手機的下課時間 -- 板橋高中教學題 | From: [192.168.120.33] | Post Date : 2024-03-23 12:38

#include
using namespace std;

int main() 
{
  int num,times;
  while(cin>>num>>times)
  {
    for(int i=0;i<times;i++)
    {
      int guess;
      cin>>guess;
      int g[4],hold1=guess;
      for(int j=3;j>=0;j--)
      {
        g[j]=hold1%10;
        hold1=int(hold1/10);
      }
      int n[4],hold2=num;
      for(int j=3;j>=0;j--)
      {
        n[j]=hold2%10;
        hold2=int(hold2/10);
      }
      int a=0,b=0;
      for(int j=0;j<4;j++)
      {
        if(n[j]==g[j])
        a++;
        else
        {
          for(int k=0;k<4;k++)
          {
            if(g[j]==n[k]&&j!=k)
            b++;
          }
        }
      }
      cout<<a<<"A"<<b<<"B"<<endl;
    }
  }
  return 0;
}


请不要再send答案上去。。。

 
#1484: Re:(super easy)


1650362-7@g.puiching.edu.mo (P6A09余哲嵐)

School : Pui Ching Middle School
ID : 2916
IP address : [192.168.120.33]
Last Login :
2024-10-03 13:38:28
a009. 沒有手機的下課時間 -- 板橋高中教學題 | From: [192.168.120.33] | Post Date : 2024-03-25 10:22

#include
using namespace std;

int main() 
{
  int num,times;
  while(cin>>num>>times)
  {
    for(int i=0;i<times;i++)
    {
      int guess;
      cin>>guess;
      int g[4],hold1=guess;
      for(int j=3;j>=0;j--)
      {
        g[j]=hold1%10;
        hold1=int(hold1/10);
      }
      int n[4],hold2=num;
      for(int j=3;j>=0;j--)
      {
        n[j]=hold2%10;
        hold2=int(hold2/10);
      }
      int a=0,b=0;
      for(int j=0;j<4;j++)
      {
        if(n[j]==g[j])
        a++;
        else
        {
          for(int k=0;k<4;k++)
          {
            if(g[j]==n[k]&&j!=k)
            b++;
          }
        }
      }
      cout<<a<<"A"<<b<<"B"<<endl;
    }
  }
  return 0;
}


请不要再send答案上去。。。

何彦乐 你是管理员对吧 你可以删除他的贴文

 
#1485: Re:(super easy)


1650293-0@g.puiching.edu.mo (P6A30馮子懿)

School : No School
ID : 2895
IP address : [192.168.120.33]
Last Login :
2024-05-09 11:34:59
a009. 沒有手機的下課時間 -- 板橋高中教學題 | From: [192.168.120.33] | Post Date : 2024-03-25 14:11

#include
using namespace std;

int main() 
{
  int num,times;
  while(cin>>num>>times)
  {
    for(int i=0;i<times;i++)
    {
      int guess;
      cin>>guess;
      int g[4],hold1=guess;
      for(int j=3;j>=0;j--)
      {
        g[j]=hold1%10;
        hold1=int(hold1/10);
      }
      int n[4],hold2=num;
      for(int j=3;j>=0;j--)
      {
        n[j]=hold2%10;
        hold2=int(hold2/10);
      }
      int a=0,b=0;
      for(int j=0;j<4;j++)
      {
        if(n[j]==g[j])
        a++;
        else
        {
          for(int k=0;k<4;k++)
          {
            if(g[j]==n[k]&&j!=k)
            b++;
          }
        }
      }
      cout<<a<<"A"<<b<<"B"<<endl;
    }
  }
 请立即删除!

 

 
#1487: Re:(super easy)


1652274-5@g.puiching.edu.mo (P6A05何承禧)

School : No School
ID : 2934
IP address : [192.168.120.33]
Last Login :
2024-10-04 15:25:27
a009. 沒有手機的下課時間 -- 板橋高中教學題 | From: [192.168.120.33] | Post Date : 2024-03-25 14:13

Please don't send answer!

Please don't send answer!

Please don't send answer!

 

Important things say three times. XD(what translate is this)



 
#1490: Re:(super easy)


1650293-0@g.puiching.edu.mo (P6A30馮子懿)

School : No School
ID : 2895
IP address : [192.168.120.33]
Last Login :
2024-05-09 11:34:59
a009. 沒有手機的下課時間 -- 板橋高中教學題 | From: [192.168.120.33] | Post Date : 2024-03-25 14:14

#include
using namespace std;

int main() 
{
  int num,times;
  while(cin>>num>>times)
  {
    for(int i=0;i<times;i++)
    {
      int guess;
      cin>>guess;
      int g[4],hold1=guess;
      for(int j=3;j>=0;j--)
      {
        g[j]=hold1%10;
        hold1=int(hold1/10);
      }
      int n[4],hold2=num;
      for(int j=3;j>=0;j--)
      {
        n[j]=hold2%10;
        hold2=int(hold2/10);
      }
      int a=0,b=0;
      for(int j=0;j<4;j++)
      {
        if(n[j]==g[j])
        a++;
        else
        {
          for(int k=0;k<4;k++)
          {
            if(g[j]==n[k]&&j!=k)
            b++;
          }
        }
      }
      cout<<a<<"A"<<b<<"B"<<endl;
    }
  }
  return 0;
}


请不要再send答案上去。。。

何彦乐 你是管理员对吧 你可以删除他的贴文
快删除!!



 
#1494: Re:(super easy)


1650293-0@g.puiching.edu.mo (P6A30馮子懿)

School : No School
ID : 2895
IP address : [192.168.120.33]
Last Login :
2024-05-09 11:34:59
a009. 沒有手機的下課時間 -- 板橋高中教學題 | From: [192.168.120.33] | Post Date : 2024-03-25 14:19

#include
using namespace std;

int main() 
{
  int num,times;
  while(cin>>num>>times)
  {
    for(int i=0;i<times;i++)
    {
      int guess;
      cin>>guess;
      int g[4],hold1=guess;
      for(int j=3;j>=0;j--)
      {
        g[j]=hold1%10;
        hold1=int(hold1/10);
      }
      int n[4],hold2=num;
      for(int j=3;j>=0;j--)
      {
        n[j]=hold2%10;
        hold2=int(hold2/10);
      }
      int a=0,b=0;
      for(int j=0;j<4;j++)
      {
        if(n[j]==g[j])
        a++;
        else
        {
          for(int k=0;k<4;k++)
          {
            if(g[j]==n[k]&&j!=k)
            b++;
          }
        }
      }
      cout<<a<<"A"<<b<<"B"<<endl;
    }
  }
  return 0;
}


请不要再send答案上去。。。

何彦乐 你是管理员对吧 你可以删除他的贴文
快删除!!


快点删除!!!!!!!!!!!!!!!!!!!!!!!!

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠



 
#1495: Re:(super easy)


2158319-6@g.puiching.edu.mo (P6A37葉穎臻)

School : No School
ID : 2935
IP address : [192.168.120.33]
Last Login :
2024-10-15 09:12:23
a009. 沒有手機的下課時間 -- 板橋高中教學題 | From: [192.168.120.33] | Post Date : 2024-03-25 14:21

#include
using namespace std;

int main() 
{
  int num,times;
  while(cin>>num>>times)
  {
    for(int i=0;i<times;i++)
    {
      int guess;
      cin>>guess;
      int g[4],hold1=guess;
      for(int j=3;j>=0;j--)
      {
        g[j]=hold1%10;
        hold1=int(hold1/10);
      }
      int n[4],hold2=num;
      for(int j=3;j>=0;j--)
      {
        n[j]=hold2%10;
        hold2=int(hold2/10);
      }
      int a=0,b=0;
      for(int j=0;j<4;j++)
      {
        if(n[j]==g[j])
        a++;
        else
        {
          for(int k=0;k<4;k++)
          {
            if(g[j]==n[k]&&j!=k)
            b++;
          }
        }
      }
      cout<<a<<"A"<<b<<"B"<<endl;
    }
  }
  return 0;
}


请不要再send答案上去。。。

何彦乐 你是管理员对吧 你可以删除他的贴文
快删除!!


快点删除!!!!!!!!!!!!!!!!!!!!!!!!

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠




 
#1496: Re:(super easy)


1650293-0@g.puiching.edu.mo (P6A30馮子懿)

School : No School
ID : 2895
IP address : [192.168.120.33]
Last Login :
2024-05-09 11:34:59
a009. 沒有手機的下課時間 -- 板橋高中教學題 | From: [192.168.120.33] | Post Date : 2024-03-25 14:21

#include
using namespace std;

int main() 
{
  int num,times;
  while(cin>>num>>times)
  {
    for(int i=0;i<times;i++)
    {
      int guess;
      cin>>guess;
      int g[4],hold1=guess;
      for(int j=3;j>=0;j--)
      {
        g[j]=hold1%10;
        hold1=int(hold1/10);
      }
      int n[4],hold2=num;
      for(int j=3;j>=0;j--)
      {
        n[j]=hold2%10;
        hold2=int(hold2/10);
      }
      int a=0,b=0;
      for(int j=0;j<4;j++)
      {
        if(n[j]==g[j])
        a++;
        else
        {
          for(int k=0;k<4;k++)
          {
            if(g[j]==n[k]&&j!=k)
            b++;
          }
        }
      }
      cout<<a<<"A"<<b<<"B"<<endl;
    }
  }
  return 0;
}


请不要再send答案上去。。。

何彦乐 你是管理员对吧 你可以删除他的贴文
快删除!!


快点删除!!!!!!!!!!!!!!!!!!!!!!!!

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠



这些人做的事都对我们有害!

😠

😠

😠

😠

😠

警告他一次!!!

 

 
#1497: Re:(super easy)


2158319-6@g.puiching.edu.mo (P6A37葉穎臻)

School : No School
ID : 2935
IP address : [192.168.120.33]
Last Login :
2024-10-15 09:12:23
a009. 沒有手機的下課時間 -- 板橋高中教學題 | From: [192.168.120.33] | Post Date : 2024-03-25 14:23

#include
using namespace std;

int main() 
{
  int num,times;
  while(cin>>num>>times)
  {
    for(int i=0;i<times;i++)
    {
      int guess;
      cin>>guess;
      int g[4],hold1=guess;
      for(int j=3;j>=0;j--)
      {
        g[j]=hold1%10;
        hold1=int(hold1/10);
      }
      int n[4],hold2=num;
      for(int j=3;j>=0;j--)
      {
        n[j]=hold2%10;
        hold2=int(hold2/10);
      }
      int a=0,b=0;
      for(int j=0;j<4;j++)
      {
        if(n[j]==g[j])
        a++;
        else
        {
          for(int k=0;k<4;k++)
          {
            if(g[j]==n[k]&&j!=k)
            b++;
          }
        }
      }
      cout<<a<<"A"<<b<<"B"<<endl;
    }
  }
  return 0;
}


请不要再send答案上去。。。

何彦乐 你是管理员对吧 你可以删除他的贴文
快删除!!


快点删除!!!!!!!!!!!!!!!!!!!!!!!!

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠



这些人做的事都对我们有害!

😠

😠

😠

😠

😠

警告他一次!!!

 

yes yes yes yes yes yes yes yes, delete delete  delete   delete  delete  delete  delete delete  delete 

 
#1505: Re:(super easy)


1652274-5@g.puiching.edu.mo (P6A05何承禧)

School : No School
ID : 2934
IP address : [192.168.120.33]
Last Login :
2024-10-04 15:25:27
a009. 沒有手機的下課時間 -- 板橋高中教學題 | From: [192.168.120.33] | Post Date : 2024-03-25 14:36

#include
using namespace std;

int main() 
{
  int num,times;
  while(cin>>num>>times)
  {
    for(int i=0;i<times;i++)
    {
      int guess;
      cin>>guess;
      int g[4],hold1=guess;
      for(int j=3;j>=0;j--)
      {
        g[j]=hold1%10;
        hold1=int(hold1/10);
      }
      int n[4],hold2=num;
      for(int j=3;j>=0;j--)
      {
        n[j]=hold2%10;
        hold2=int(hold2/10);
      }
      int a=0,b=0;
      for(int j=0;j<4;j++)
      {
        if(n[j]==g[j])
        a++;
        else
        {
          for(int k=0;k<4;k++)
          {
            if(g[j]==n[k]&&j!=k)
            b++;
          }
        }
      }
      cout<<a<<"A"<<b<<"B"<<endl;
    }
  }
  return 0;
}


请不要再send答案上去。。。

何彦乐 你是管理员对吧 你可以删除他的贴文
快删除!!


快点删除!!!!!!!!!!!!!!!!!!!!!!!!

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠



这些人做的事都对我们有害!

😠

😠

😠

😠

😠

警告他一次!!!

 

yes yes yes yes yes yes yes yes, delete delete  delete   delete  delete  delete  delete delete  delete 

someone might already copy it, lets delete it before more people copy this, even though I haven't AC this yet, I still didn't copy it because I know it is bad and I don't know the logic. Please delete it! >:D

 
#1530: Re:(super easy)


1551946-5@g.puiching.edu.mo (S1B37錢經天)

School : No School
ID : 2372
IP address : [192.168.120.33]
Last Login :
2024-07-11 00:57:08
a009. 沒有手機的下課時間 -- 板橋高中教學題 | From: [192.168.120.33] | Post Date : 2024-05-08 21:29

#include
using namespace std;

int main() 
{
  int num,times;
  while(cin>>num>>times)
  {
    for(int i=0;i<times;i++)
    {
      int guess;
      cin>>guess;
      int g[4],hold1=guess;
      for(int j=3;j>=0;j--)
      {
        g[j]=hold1%10;
        hold1=int(hold1/10);
      }
      int n[4],hold2=num;
      for(int j=3;j>=0;j--)
      {
        n[j]=hold2%10;
        hold2=int(hold2/10);
      }
      int a=0,b=0;
      for(int j=0;j<4;j++)
      {
        if(n[j]==g[j])
        a++;
        else
        {
          for(int k=0;k<4;k++)
          {
            if(g[j]==n[k]&&j!=k)
            b++;
          }
        }
      }
      cout<<a<<"A"<<b<<"B"<<endl;
    }
  }
  return 0;
}


请不要再send答案上去。。。

何彦乐 你是管理员对吧 你可以删除他的贴文
快删除!!


快点删除!!!!!!!!!!!!!!!!!!!!!!!!

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠



这些人做的事都对我们有害!

😠

😠

😠

😠

😠

警告他一次!!!

 

yes yes yes yes yes yes yes yes, delete delete  delete   delete  delete  delete  delete delete  delete 

I want to ask if this is illegal or not.

Your guys can't do it and copy and blame.

too small



 
#1650: Re:(super easy)


1653443-3@g.puiching.edu.mo (P6A38劉浩錕)

School : No School
ID : 2896
IP address : [192.168.120.33]
Last Login :
2024-10-11 16:47:41
a009. 沒有手機的下課時間 -- 板橋高中教學題 | From: [192.168.120.33] | Post Date : 2024-07-02 18:07

#include
using namespace std;

int main() 
{
  int num,times;
  while(cin>>num>>times)
  {
    for(int i=0;i<times;i++)
    {
      int guess;
      cin>>guess;
      int g[4],hold1=guess;
      for(int j=3;j>=0;j--)
      {
        g[j]=hold1%10;
        hold1=int(hold1/10);
      }
      int n[4],hold2=num;
      for(int j=3;j>=0;j--)
      {
        n[j]=hold2%10;
        hold2=int(hold2/10);
      }
      int a=0,b=0;
      for(int j=0;j<4;j++)
      {
        if(n[j]==g[j])
        a++;
        else
        {
          for(int k=0;k<4;k++)
          {
            if(g[j]==n[k]&&j!=k)
            b++;
          }
        }
      }
      cout<<a<<"A"<<b<<"B"<<endl;
    }
  }
  return 0;
}


请不要再send答案上去。。。

何彦乐 你是管理员对吧 你可以删除他的贴文
快删除!!


快点删除!!!!!!!!!!!!!!!!!!!!!!!!

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠

😠



这些人做的事都对我们有害!

😠

😠

😠

😠

😠

警告他一次!!!

 

yes yes yes yes yes yes yes yes, delete delete  delete   delete  delete  delete  delete delete  delete 

I want to ask if this is illegal or not.

Your guys can't do it and copy and blame.

too small


?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

 
ZeroJudge Forum