以下是kkksc03综合几个版本后得到的答案,非标准答案,仅供参考
B
D
D
B
C
C
B
B
D
A
D
D||B
C
B
C
AB
BCD
ABCDE
AC||ACD
B||BD
102
15
8
20
??
3 6 9 1 5 10 4 11 8 2 7
N
0
stack2[top2]:=stack1[top1]
stack1[top1]:=stack2[top2]
top1-1||i
[1,1]
rowsum[i,0]:=0
rowsum[i,j-1]+matrix[i,j]
area:=0;
row[i,last]-rowsum[i,first-1]