这里X Y Z 为整数。
#include
int main()
{
for(int x=0;x<532;x++)
{
for(int y=0;y<532;y++)
{
for(int z=0;z<532;z++)
{
if(x*y*z+y*z*z=532) cout<<"x="<
}
}
return 0;
}
#include
using namespace std;
int main(){
int x,y,z;
for(x=1;x<=9;x++){
for(y=1;y<=9;y++){
if(x==y) continue;
for(z=0;z<=9;z++){
if(x==z||y==z)continue;
else if((x*100+y*10+z)+(y*100+z*10+z)==532)
cout<<"x="<