{start translating here}
largestsum:=-10000;
for i:=1 to norows do begin
sum:=0;
for j:=1 to nocols do begin
sum:=sum+a[i,j];
end;
if sum>largestsum then begin
largestrow:=i;
largestsum:=sum;
end;
end;
{end translating here}
write('the number of the largest row is ',largestrow);writeln;
write('the sum of the row is ',largestsum);writeln;
end.