#include<iostream>
using namespace std;

int main()
{
    for(int x=0;x<10;x++)
    {
        for(int y=0;y<10;y++)
        {
            for(int z=0;z<10;z++)
            {
                if((110*x+100*y+12*z)==532)
                {
                    cout<<"x="<<x<<" ";
                    cout<<"y="<<y<<" ";
                    cout<<"z="<<z<<" ";
                    cout<<endl;
                }
            }
        }
    }
    return 0;
}

 

相关文章:

  • 2021-09-18
  • 2021-11-16
  • 2022-02-12
  • 2021-09-11
  • 2021-12-13
  • 2022-12-23
  • 2021-03-30
  • 2022-12-23
猜你喜欢
  • 2021-08-01
  • 2021-09-24
  • 2021-10-11
  • 2021-06-10
  • 2021-06-23
  • 2021-07-23
相关资源
相似解决方案