Forgot password
 Register account
View 549|Reply 1

[组合] 方阵最大和问题

[Copy link]

81

Threads

165

Posts

1

Reputation

Show all posts

APPSYZY posted 2021-6-21 15:20 |Read mode
设有一个3×3的矩阵,其元素都为非负整数:
x1  x2  x3
y1  y2  y3
z1  z2  z3
现在要求在其中取出三个不同行、不同列元素,使其和最大。
请教:如何证明下面的方法的正确性?
方法:首先求出每一行的元素和,选出元素和最大的那一行,假设为z行,然后选出这一行中最大的元素,假设为z3;然后从剩下的两行中选出元素和最大的一行,假设为x行,选出这一行中最大的元素,假设为x2;最后,y行只剩下y1可选。由这一方法,最终得到的最大值为x2+y1+z3。

81

Threads

434

Posts

12

Reputation

Show all posts

tommywong posted 2021-6-23 13:43
這個方法方便編程
0 0 0
0 0 2
0 2 3

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-15 14:29 GMT+8

Powered by Discuz!

Processed in 0.011857 seconds, 22 queries