===== PascalABC.NET =====
begin
var n := ReadInteger('N =');
var a := MatrRandom(n, n, -99, 99);
a.Println;
for var i := 0 to n - 1 do
a.SetRow(i, a.Row(i).OrderDescending.ToArray);
Writeln;
a.Println
end.
===== PascalABC.NET =====
begin
var n := ReadInteger('N =');
var a := MatrRandom(n, n, -99, 99);
a.Println;
for var i := 0 to n - 1 do
a.SetRow(i, a.Row(i).OrderDescending.ToArray);
Writeln;
a.Println
end.