3位数XYZ,数字的位置交换后成为ZXY,而ZXY是XYZ的2倍,求XYZ各为多少
答案:6 悬赏:60 手机版
解决时间 2021-02-26 05:23
- 提问者网友:雨不眠的下
- 2021-02-25 07:33
3位数XYZ,数字的位置交换后成为ZXY,而ZXY是XYZ的2倍,求XYZ各为多少
最佳答案
- 五星知识达人网友:渡鹤影
- 2021-02-25 07:41
无解
循环810次,没有得到结果,
matlab 源程序如下:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear;
clc;
i=0;
for x=1:9;
for y=0:9;
for z=1:9
i=i+1;
if 2*(100*x+10*y+z)==100*z+10*x+y;
x
y
z
end
end
end
end
i
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
循环810次,没有得到结果,
matlab 源程序如下:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear;
clc;
i=0;
for x=1:9;
for y=0:9;
for z=1:9
i=i+1;
if 2*(100*x+10*y+z)==100*z+10*x+y;
x
y
z
end
end
end
end
i
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
全部回答
- 1楼网友:罪歌
- 2021-02-25 11:24
我编程看了一下,好像无解吧......
- 2楼网友:洎扰庸人
- 2021-02-25 10:40
无解
,,,,,,,
,,,,,,,
- 3楼网友:詩光轨車
- 2021-02-25 09:35
XYZ数值为:100X+10Y+Z
ZXY数值为:100Z+10X+Y
100Z+10X+Y=2(100X+10Y+Z)
设X=1,2,3......
通过上式判断
ZXY数值为:100Z+10X+Y
100Z+10X+Y=2(100X+10Y+Z)
设X=1,2,3......
通过上式判断
- 4楼网友:白昼之月
- 2021-02-25 08:42
impossible
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯