珍珠湾ART

标题: IBM10月 [打印本页]

作者: fzy    时间: 2005-10-3 23:34
标题: IBM10月

A矩阵的元素a(i,j)是整数且有以下性质:对于任何不同的行i1及i2和不同的列j1及j2,元素和a(i1,j1)+a(i2,j2)跟元素和a(i1,j2)+a(i2,j1)是不相等的。我们有兴趣的是a(i,j)取值范围愈窄愈好。以下例子是一个3x3的A矩阵而其元素只取自{0,1}:www.ddhw.com

0 0 1
0 1 0
1 0 0www.ddhw.com

请作出
一个5x5的A矩阵而其元素只取自{0,1,2}
一个7x7的A矩阵而其元素只取自{0,1,2,3,4}
一个11x11的A矩阵而其元素只取自{0,1,…,6,7}
一个13x13的A矩阵而其元素只取自{0,1,…,7,8}
www.ddhw.com

 

作者: 野 菜 花    时间: 2005-10-7 04:25
标题: 5X5 的一 个解

00221
02102
20012
21200
12020
www.ddhw.com

 

作者: sean9991    时间: 2005-10-7 17:32
标题: 回复:5X5 的一 个解

check 2nd and 3rd rows, 4th and 5th rows
www.ddhw.com

 

作者: 野 菜 花    时间: 2005-10-7 18:11
标题: 回复:回复:5X5 的一 个解

I have checked it again, could not find the errors, would you just show one 2X2 matrix? Thanks!www.ddhw.com
 
 
www.ddhw.com

 

作者: sean9991    时间: 2005-10-10 19:05
标题: oops, I misunderstood the question

  oops, I misunderstood the question





作者: fzy    时间: 2005-10-10 19:13
标题: 回复:IBM10月

I actually did not even try the problem. I posted it not because I like it, the reason was I felt IBN ran out of good problems and had to use silly problems like this to fill the space.www.ddhw.com
 
I apologize for not stating it in the beginning, and appreciate 野菜花's solution.
www.ddhw.com

 





欢迎光临 珍珠湾ART (http://66.160.158.134/) Powered by Discuz! X3