wy
2 楼
16进制?
【在 I*****a 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: http://learning.sohu.com/20131224/n392295292.shtml
【在 I*****a 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: http://learning.sohu.com/20131224/n392295292.shtml
T*e
3 楼
大三就不要做这种题了
【在 I*****a 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: http://learning.sohu.com/20131224/n392295292.shtml
【在 I*****a 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: http://learning.sohu.com/20131224/n392295292.shtml
E*a
5 楼
1089
【在 I*****a 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: http://learning.sohu.com/20131224/n392295292.shtml
【在 I*****a 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: http://learning.sohu.com/20131224/n392295292.shtml
l*k
6 楼
这题如果是面试考写代码,最短多少行搞定?
【在 I*****a 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: http://learning.sohu.com/20131224/n392295292.shtml
【在 I*****a 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: http://learning.sohu.com/20131224/n392295292.shtml
G*Y
9 楼
A=1,D=9,B=0,C=8
【在 I*****a 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: http://learning.sohu.com/20131224/n392295292.shtml
【在 I*****a 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: http://learning.sohu.com/20131224/n392295292.shtml
H*g
12 楼
0000
l*y
17 楼
a,b,c,d=0
l*k
20 楼
这确实是小学生的题,我小时候就做过,当然不记得到底几年级了
【在 I*****a 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: http://learning.sohu.com/20131224/n392295292.shtml
【在 I*****a 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: http://learning.sohu.com/20131224/n392295292.shtml
m*8
21 楼
定题用方程解难,但实际考的就是小聪明,4位数乘以9还是4位,A就是1了,然后Dx9个
位是1,D就是9了,然后Bx9也不能进位,B=0,然后真要解的只有C=8
★ 发自iPhone App: ChineseWeb 8.2.2
【在 I*****a 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: http://learning.sohu.com/20131224/n392295292.shtml
位是1,D就是9了,然后Bx9也不能进位,B=0,然后真要解的只有C=8
★ 发自iPhone App: ChineseWeb 8.2.2
【在 I*****a 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: http://learning.sohu.com/20131224/n392295292.shtml
s*d
27 楼
结果是4位数,所以A必须是1,于是D是9。而且Bx9没有进位,又不能是1,只能是0。答
案1089
【在 I*****a 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: http://learning.sohu.com/20131224/n392295292.shtml
案1089
【在 I*****a 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: http://learning.sohu.com/20131224/n392295292.shtml
k*g
28 楼
matlab 还是太繁琐了,还是k更简单:
{{[email protected]&x in y}[|:'$9*x;$x]}1000+!111
并且 k 的速度比 matlab 快N多:)
另外发现了一个有趣的规律:
四位数满足这个条件的有 1 个;
五位数满足这个条件的有 12 个;
六位数满足这个条件的有 123 个;
七位数满足这个条件的有 1234 个;
八位数满足这个条件的有 12345 个;
【在 l********k 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: matlab一行,已测试...
: find(str2num(fliplr(num2str((1:1111)'*9, '%04d'))) == (1:1111)')
{{[email protected]&x in y}[|:'$9*x;$x]}1000+!111
并且 k 的速度比 matlab 快N多:)
另外发现了一个有趣的规律:
四位数满足这个条件的有 1 个;
五位数满足这个条件的有 12 个;
六位数满足这个条件的有 123 个;
七位数满足这个条件的有 1234 个;
八位数满足这个条件的有 12345 个;
【在 l********k 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: matlab一行,已测试...
: find(str2num(fliplr(num2str((1:1111)'*9, '%04d'))) == (1:1111)')
相关阅读