Knuth
Jon Bentley 80%
3 2
Bentley
——
ALGOL Pascal C Ada
5
Sum=0;
for(Row=0; Row<RowCount; Row++)
{
for(Column=0; Column<ColumnCount; Column++)
{
Sum=Sum + Matrix[Row][Column];
}
}
10 X 10 100
100 100
Sum =0;
Elementptr =Matrix;
LastElementptr =Matrix[RowCount-1][ColumnCount-1] + l;
While ( Elementptr < LastElementptr )
{